PDA

View Full Version : [FIXED] Pie Chart - tooltips not working?



kenoyer130
6 Feb 2012, 10:10 AM
I have working tool tips on my column charts with no problems. When I use the same code for a Pie chart, no tool tips are displayed even though the code is called. Any ideas?

Note that

chart.setTitle("blah");
Does seem to work in IE at least.


protected final SeriesToolTipConfig<T> toolTipConfig = new SeriesToolTipConfig<T>();
...
private PieSeries<T> series = new PieSeries<T>();
toolTipConfig.setNumericLabelProvider(null);

series.setToolTipConfig(toolTipConfig);
...
series.addSeriesItemOverHandler(new SeriesItemOverHandler() {
@Override
public void onSeriesOverItem(SeriesItemOverEvent event) {
toolTipConfig.setBodyHtml("my cool text!");
}
});

BrendanC
6 Feb 2012, 4:14 PM
Thanks for bringing this to my attention. This is fixed in SVN and will be in the next release.