Hierarchy

  • UpChartControl

Methods

  • Get a chart category axis object.

    Parameters

    • element: HTMLElement

      HTML element of the chart control

    Returns boolean | object

    Example

    var chartCategoryAxis = upChart.getCategoryAxis(ix.util.getHtml("<GUID>"));
    
  • Get a chart object.

    Parameters

    • element: HTMLElement

      HTML element of the chart control

    Returns boolean | object

    Example

    var chartObject = upChart.getChart(ix.util.getHtml("<GUID>"));
    
  • Get chart data.

    Parameters

    • chart: object

      Reference to a chart object

    Returns boolean | {}[]

    Example

    var chartObject = upChart.getChart(ix.util.getHtml("<GUID>"));
    var chartData = upChart.getData(chartObject);
  • Get a chart graph object.

    Parameters

    • element: HTMLElement

      HTML element of the chart control

    Returns boolean | object

    Example

    var chartGraphs = upChart.getGraphs(ix.util.getHtml("<GUID>"));
    
  • Get a chart value axis object.

    Parameters

    • element: HTMLElement

      HTML element of the chart control

    Returns boolean | object

    Example

    var chartValueAxis = upChart.getValueAxis(ix.util.getHtml("<GUID>"));
    
  • Reload the chart.

    Parameters

    • chart: object

      Reference to a chart object

    Returns any

    Example

    var chartObject = upChart.getChart(ix.util.getHtml("<GUID>"));
    upChart.reload(chartObject);
  • Remove chart data.

    Parameters

    • chart: object

      Reference to a chart object

    Returns boolean

    Example

    var chartObject = upChart.getChart(ix.util.getHtml("<GUID>"));
    upChart.removeData(chartObject);
  • Set chart data.

    Parameters

    • chartData: {}[]

      Data array for the DataProvider (see example)

    • chart: object

      Reference to a chart object

    Returns void

    Example

    var chartObject = upChart.getChart(ix.util.getHtml("<GUID>"));

    // This is an example for the chart data object.
    // If you want to know what the object of your chart looks like,
    // use the API to fetch the chart data (`getData()`).

    chartData = [{
    "kat" : [categoryValue-a], // {string | number}
    "[columnValue1]" : [chartValue1-a], // {string | number}
    "[columnValue2]" : [chartValue2-a] // {string | number}
    },{
    "kat" : [categoryValue-b], // {string | number}
    "[columnValue1]" : [chartValue1-b], // {string | number}
    "[columnValue2]" : [chartValue2-b] // {string | number}
    }]
    upChart.setData(chartData);