XYChart - detect Axis Label changed via Popup: Properties ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
AjitPS
Posts: 49
Joined: Tue Oct 22, 2013 10:08 am
antibot: No, of course not.
Location: UK

XYChart - detect Axis Label changed via Popup: Properties ?

Post by AjitPS » Fri Dec 20, 2013 4:14 pm

Hi,
This is a relatively simple question about XYChart() in JFreeChart.

In the generated chart, we have a default Popup Menu on the ChartPanel. One of the functions in amongst the Popup features is "Properties" within which we can change the x and y axis labels. I want a way to retrieve whatever new name the user sets using this feature so that I know what change they made.

I understand this might require to have an AxisChangeListener on the Domain & Range axis of the XYPlot. How can I implement this ? If anyone knows how to begin doing this, kindly let me know. Thanks.

Locked