Hello all, I am using a TimeSeries chart and for 90% of my charts they are fine and well but for some charts I need to display multiple values on the same day! If I attempt to use one of the other time series classes like minute and hour I get an Exception!
Can I do this using a TimeSeries chart or do I need to refer back to an XY chart and set the X-axis to a date range?
cheers LEE
Multiple values per day
Re: Multiple values per day
Hi Lee,
Chances are you are creating a BasicTimeSeries using the default constructor (which sets up for using the Day time period). What you need to do is use the other constructor where you specify the TimePeriod subclass that you will be using, for example:
BasicTimeSeries s1 = new BasicTimeSeries("Series 1", Minute.class);
You can't mix different time period subclasses within one series.
Regards,
DG.
Chances are you are creating a BasicTimeSeries using the default constructor (which sets up for using the Day time period). What you need to do is use the other constructor where you specify the TimePeriod subclass that you will be using, for example:
BasicTimeSeries s1 = new BasicTimeSeries("Series 1", Minute.class);
You can't mix different time period subclasses within one series.
Regards,
DG.