Hi,
How do you get the tooltip to show the data when using CategoryItemEntity class when working on imagemaps? Or how do you access the data from that class?
JFreeChart 0.9.2
Thanks,
zhi
Tooltip on VerticalBarChart
Re: Tooltip on VerticalBarChart
Hi Zhi,
I'm not completely sure how you want to incorporate the information into an image map, but the CategoryItemEntity class inherits a method getToolTipText() from the ChartEntity class. You could use that or call the getCategory() method and the getSeries() method (to work out which item you are looking at) then generate your own text directly from the data.
Regards,
DG.
I'm not completely sure how you want to incorporate the information into an image map, but the CategoryItemEntity class inherits a method getToolTipText() from the ChartEntity class. You could use that or call the getCategory() method and the getSeries() method (to work out which item you are looking at) then generate your own text directly from the data.
Regards,
DG.