Auto range the Y-Axis after a DomainZoom.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
zinZ
Posts: 19
Joined: Mon Jul 09, 2007 2:18 pm

Auto range the Y-Axis after a DomainZoom.

Post by zinZ » Tue Jul 24, 2007 8:12 am

Hello,

I have a CombinedDomainXYPlot. My chart pane is defined DomainZoomable only by setRangeZoomable(false)

When I make a DomainZoom with the mouse, I want all the subplots auto adjust their y-axis range function of the range of the dataset still displayed in the plot.

Am I clear or not?

Is there a short way ?

Thanks

zinZ
Posts: 19
Joined: Mon Jul 09, 2007 2:18 pm

Post by zinZ » Tue Jul 24, 2007 9:23 am

I think the method autoAdjustRange() could help me, but it is proteced.

Moreover, I don't know how to dectect a zoom event.

Locked