Hi,
I've been trying to get tooltips on a chart that I created with ChartFactory.createXYLineChart.
I've implemented my own instance of XYToolTipGenerator, that looks up Tool tips in a java.util.Map. I then call XYLineAndShapeRenderer.setToolTipGenerator on one of my tool tip generator objects.
However, the tool tips never display, and the generateToolTip method is never called. I tried walking my way through the source code to see who would call my method, but I quickly got confused.
Can anyone help?
Thanks,
Jon
ToolTips for XYLineChart
Hi Jon,
I was also going to use ToolTips for my XYLineChart, and got the ToolTips working, but with my version of JFreeChart (0.9.18 ) they only work for the first line that is generated. I don't think that it has been extended further in the last two releases (I could be wrong though). As ToolTips are not that important for my project, I just decided to leave them out. I'm not sure if anyone else has been able to get them to work for all of their lines on the chart.
Good Luck!
Nicky
I was also going to use ToolTips for my XYLineChart, and got the ToolTips working, but with my version of JFreeChart (0.9.18 ) they only work for the first line that is generated. I don't think that it has been extended further in the last two releases (I could be wrong though). As ToolTips are not that important for my project, I just decided to leave them out. I'm not sure if anyone else has been able to get them to work for all of their lines on the chart.
Good Luck!
Nicky