Hello, I am trying to provide a way for users to draw lines inside the chart (tendency lines) and I've been pretty succesfull so far. The thing is that I cant find how to get the plot coordinates in order to compare them against the XY coordinates of the mouse event.
Is there any way to findout the bound coordinates of the plot?. Thanks,
Diego.
Plot Bound coordinates
Re: Plot Bound coordinates
Take a look at the getScaledDataArea() method in the ChartPanel class.
Regards,
Dave Gilbert
Regards,
Dave Gilbert
Re: Plot Bound coordinates
I did, but the coordinates don't seem to match is like they use two different scales.