Let's say I've created a time series chart with the following data:
Code: Select all
TimeSeries timeseries = new TimeSeries("Series 1");
timeseries.add(new Day(1, 1, 2002), 100);
timeseries.add(new Day(3, 1, 2002), 200);
However, I want that the length of the time period is shown along the X axis (here: 1 day). I want the graph to look as follows (magic Paint skills!)
How can this be achieved? The data is there (getFirstMillisecond(), getLastMillisecond()) of RegularTimePeriod). I want this data to be drawn as X-axis intervals.
Obviously I'm not looking for a hack such as "just insert a value every X seconds.
Cheers!
Marius