Hi,
I've started modifying the XYPlot.java for some custom elements I want to draw. I'm now able to overlay elements on the graph. But how can I remove these drawings on demand? Is there something like a complete redraw that will erase everything that has been painted? So far I used a mechanism similar to the horizontal/vertical lines, but I think there is no way to remove them either?!
Thanks a lot for your help.
Cheers,
Marko
Complete Redraw?
Re: Complete Redraw?
I need to add a method to manually trigger a chart redraw, someone else requested this a little while ago. All that is required (I think) is a public version of the fireChartChanged() method.
As a workaround, this might work (I didn't actually try it):
myChart.setTitles(myChart.getTitles());
Regards,
DG.
As a workaround, this might work (I didn't actually try it):
myChart.setTitles(myChart.getTitles());
Regards,
DG.