How do I get the name of the variables (series inserted in the dataset that the chart use) used in a chart?
I mean, before you add a dataset to a chart, you do like this: (the string "variable name" is the value I want to get)
Code: Select all
TimeSeries s = new TimeSeries("variable name", FixedMillisecond.class);
Code: Select all
DefaultCategoryDataset barDataset = new DefaultCategoryDataset();
barDataset.setValue(someValue, "A String", "variable name");
thanks in advance