Hello everybody,
I build a chart with the following code :
.....
//construction
com.jrefinery.chart.JFreeChart jf3 = cf.createXYChart
("Title","Years","Values",data,true);
com.jrefinery.chart.ChartPanel chartPanel = new
com.jrefinery.chart.ChartPanel(jf3);
// make the crosshair visible
chartPanel.setHorizontalAxisTrace(true);
chartPanel.setVerticalAxisTrace(true);
...
The problem is that when I follow the curve with the mouse and when the values of the point appears near the mouse cursor, there is a refresh problem with the crosshair : the image of the crosshair is present :
- near the old mouse cursor emplacement
and
- near the current mouse emplacement
So when you follow the curve in this situation, a lot of crosshairs are present on the chart.
This problem doesn't appears if the values of the point aren't shown.
It seems to be a simple refresh bug, isn't it?
Bug in XYChart ?
Re: Bug in XYChart ?
Hi Manu,
There are still some things that need sorting out with the tracing lines on the ChartPanel. If you have any suggestions let me know...
Regards,
DG.
There are still some things that need sorting out with the tracing lines on the ChartPanel. If you have any suggestions let me know...
Regards,
DG.