public class DateAxisextends ValueAxisimplements Cloneable, SerializableThe base class for axes that display dates. You will find it easier to understand how this axis works if you bear in mind that it really displays/measures integer (or long) data, where the integers are milliseconds since midnight, 1-Jan-1970. When displaying tick labels, the millisecond values are converted back to dates using a
You can also create a
Timelineand supply in the constructor to create an axis that only contains certain domain values. For example, this allows you to create a date axis that only contains working days.
- See Also:
- Serialized Form