setPointValue (value: Number, serie: Number, point: Number);
value. Value.
serie. Series index.
point. Series point index.
fireEvent. Parameter that determines if the appropriate event is fired after method execution. Default property value is True. If the parameters is set to False the event is not fired.
The setPointValue method sets value for a specified point of selected chart series.
To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). A chart must be available on regular report sheet. Set the value 1000 for the first point in the first chart series:
var prxChart = reportBox.getDataView().getGridView().getTabSheet().getModel().getObjects()[0].getITabObject(); //get regular report chart
prxChart.setPointValue(100, 0, 0, false);
After executing the example the value 100 is set for the first point in the first chart series.
See also: