Hi,
I swiched to 0.9.4 sometime back but I don't get the tool tips anymore. They used to work just fine in 0.9.3
Here is what gets ouput as usemap in 0.9.4
MAP NAME="jfreechart-35589.jpeg">
<AREA SHAPE="RECT" COORDS="42,41,48,47" >
<AREA SHAPE="RECT" COORDS="57,41,63,47" >
</MAP>
Here is what gets ouput as usemap in 0.9.3
MAP NAME="jfreechart-35589.jpeg">
<AREA SHAPE="RECT" COORDS="42,41,48,47" alt="Internal Account, Sat 10AM = 100">
<AREA SHAPE="RECT" COORDS="57,41,63,47" alt="Internal Account, Sat 11AM = 100">
</MAP>
I would really appreciate if someone could tell me if something has changed in 0.9.4. I am using jcommon ->7.1 also.
Tooltips don't work with 0.9.4
Re: Tooltips don't work with 0.9.4
I use JFreeChart 0.9.4 with tooltips and it works alright. Although I do recollect a change that some types of chart no longer get created with a default ToolTipGenerator. I had to change some of my code to add a ToolTipGenerator to the Renderer.
Check out the sample WAR file at http://homepage.ntlworld.com/richard_c_ ... freechart/ to see an example of what needed changing.
Once you add the ToolTipGenerator you should see title attributes rather than alt attributes in the HTML source, but it shouldn't make any difference to the tooltips being rendered, it just provides more comprehensive browser support.
Regards,
Richard...
Check out the sample WAR file at http://homepage.ntlworld.com/richard_c_ ... freechart/ to see an example of what needed changing.
Once you add the ToolTipGenerator you should see title attributes rather than alt attributes in the HTML source, but it shouldn't make any difference to the tooltips being rendered, it just provides more comprehensive browser support.
Regards,
Richard...