I have 3 questions about TimeSeriesChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
John Matthews
Posts: 478
Joined: Wed Sep 12, 2007 3:18 pm

Re: I have 3 questions about TimeSeriesChart

Post by John Matthews » Thu May 24, 2018 6:08 pm

On the relevant axis,

1. Invoke the setRange() method to include the desired values.
2. Invoke the setNumberFormatOverride() method with a suitable java.text.NumberFormat.
3. Invoke the setDateFormatOverride() method with a suitable java.text.DateFormat.

Post Reply