public int getSeriesIndex(HighchartSeries series) { JsArray<HighchartSeries> serA = jsOverlay.getSeries(); for (int i = 0; i < serA.length(); i++) { if (serA.get(i) == series) { return i; } } return -1; }
public void slicePoint( int seriesIndex, int pointIndex, boolean sliced, boolean redraw, boolean animation) { HighchartSeries highchartSeries = jsOverlay.getSeries().get(seriesIndex); HighchartPoint highchartPoint = highchartSeries.getData().get(pointIndex); highchartPoint.slice(sliced, redraw, animation); }
public void updatePointValue(int seriesIndex, int pointIndex, String json) { HighchartSeries highchartSeries = jsOverlay.getSeries().get(seriesIndex); HighchartPoint highchartPoint = highchartSeries.getData().get(pointIndex); highchartPoint.update(json); }
public void updatePointValue(int seriesIndex, int pointIndex, double newValue) { HighchartSeries highchartSeries = jsOverlay.getSeries().get(seriesIndex); HighchartPoint highchartPoint = highchartSeries.getData().get(pointIndex); highchartPoint.update(newValue); }