Can anybody tell me if there is a method for changing the chart data.
I'm looking for a method that can be called to change the bar chart (for example, in response to a user clicking on a list in a GUI).
Thanks in advance,
Billy
method for changing Bar chart data
Re: method for changing Bar chart data
You can replace the dataset entirely using the setDataset(...) method that all plots inherit from the Plot class. Or you can use the methods of whatever dataset class you are using to modify the content of the current dataset, and the chart should update automatically.
Regards,
Dave Gilbert
Regards,
Dave Gilbert