I am creating a time series chart that uses a minute scale. I am using a deprecated constructor to do it.
My problem is I cannot find the correct code to use that accomplishes this. If I simply use what the documentation says (i.e. the minute class is unnecessary):
I get this error:
You are trying to add data where the time period class is org.jfree.data.time.Minute, but the TimeSeries is expecting an instance of org.jfree.data.time.Day.
Yes. Same problem. It is supposed to infer from the context what to use but it does not use minute even though I am using 'HH:mm' format. Its either a bug or an omission. I just hope the deprecated method does not go away until it is fixed.