A container for a ClientSeries in a ClientChart. ClientSeries provides functions to manage a series and the graph of that series. In the ClientSeries object, all the points are accessible from the ClientSeries.data array.Table 4-33 lists actuate.report.HTML5Chart.ClientSeries functions.
void ClientSeries.addPoint({float | object} options, boolean redraw, boolean shift, {boolean | object} animation)Object. The point options. If options is a single number, the point gets that number as the Y value. If options is an array, the point gets the first two numbers as an X and Y value pair. If options is an object, advanced options as outlined in the Highcharts options.point are applied. The fields include color, events, id, marker, legend, Index (pie chart only), name, sliced (pie chart only), x, and y.Boolean. When shift is true, the graph of the series shifts one point toward the end of the series and a point added to the beginning of the series. Default is false.Boolean or object. Optional. Whether to apply animation, and optionally animation configuration. Default is true.Boolean or object. Optional. Whether to apply animation, and optionally animation configuration. Default is true.Boolean. Optional. Specifies whether to select or deselect the series. If undefined, toggles selection.void ClientSeries.setData({float | object}[ ] data, boolean redraw)Array of float and/or object. An array of data points for the series. The points can be given in three ways:
1 A list of numerical values, which are assigned as Y values, paired with X values starting with 0 and incrementing by 1 for each additional number. For example:
2 A list of arrays with two values, which are assigned as X and Y value pairs. If the first value is a string, it is applied as the name of the point, and the x value is incremented following the above rules. For example:
3 A list of objects with named values, which are assigned to points using the Highchart point configuration specification options.point. For example:[{ name: 'Point 1',{ name: 'Point 2',Boolean. Optional. Specifies whether to display the series. True displays the series, false hides it. If no value is provided, the visibility changes to false if visibility is true, and true if visibility is false.
|
|
Copyright Actuate Corporation 2012 |