How can I listen to JFreeChart\'s zoom reset event?
I'll just add up on @trashgod suggestion, in case you want to disable zoom reset on a specific axis: create an overriden ChartPanel where you either "null" restoreAutoDomainBounds() or restoreAutoRangeBounds(), as shown below.
That can be useful when you control the viewing area from different components than the chart itself (in my case: the X axis is set by the program but the user can freely zoom in/out the Y axis).
ChartPanel cp = new ChartPanel(null) {
@Override public void restoreAutoDomainBounds() {
// Empty body: do not reset X zoom
}
};