How to get start and end date in axis x when change

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jimmy6
Posts: 5
Joined: Fri Aug 09, 2013 3:58 pm
antibot: No, of course not.

How to get start and end date in axis x when change

Post by jimmy6 » Mon Apr 28, 2014 5:21 pm

How to get start and end date in axis x when change?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: How to get start and end date in axis x when change

Post by david.gilbert » Mon Apr 28, 2014 5:43 pm

The DateAxis class has methods getMinimumDate() and getMaximumDate() that return the current bounds of the axis.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked