How can I listen to JFreeChart's zoom reset event?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
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()
orrestoreAutoRangeBounds()
, 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).
I did it using this:
Thank You all.