update chart

How can I update a chart after selecting new value from ComboBox?
And how I can export chart to excel ?
Thank you


You can either update existing DataSeries, or replace the existing one.

Exporting the chart should be rather generic Java development task. You can do it by looping your data in DataSeries, but I’d suggest to do export from the same “raw data” that you use to populate the chart data. Might be easier that way.