Basically i want to show the historic data on a jfreechart graph, for that thing i need to have a time series on x -axis with scaling of 10 min or anything which should be controlled by a button click(Basically scaling gets doubled on every click if the scaling is 10 min on button click the scaling should be 20 min) and if i press the "back" button i have to show the older time periods(on x axis) with their corresponding data on the graph.
How could i achieve this using jfreechart in an efficient way?