is there any way to pass some additional data to the series object that will use to show in the chart ‘tooltip’?
In highchart I can create a Chart which data are made like this:
series: [{ name: ‘Foo’, data: [ { y : 3, myData : ‘firstPoint’ }, { y : 7, myData : ‘secondPoint’ }, { y : 1, myData : ‘thirdPoint’ } ]
}]
DataSeries series = new DataSeries();
series.add(new DataSeriesItem(“firstPoint”, 3));
series.add(new DataSeriesItem(“secondPoint”, 7));
series.add(new DataSeriesItem(“thirdPoint”, 1));
conf.setSeries(series);
[/code]If ‘name’ property is not enough you can extend DataSeriesItem to add extra properties, just be sure that DataSeriesItem makeCustomized method is called at some point so that the point is serialized correctly.