Hello world,
I would like to to synchronize the DomainZoom between several ChartPanel whose the XYPlot have all the same domain (time actually).
i.e. when I zoom in one of the ChartPanel, I want that all the others are automatically zoomed at the same way.
I don't know if a fonction like that is already existing.
If not do you know a simple way to do it ?
May be on the side of the PlotChangeListener ? and copy the PlotChangeEvent for all the other plot ?
Thank you.
[Resolved]Synchronized Zoom for different ChartPanel.
[Resolved]Synchronized Zoom for different ChartPanel.
Last edited by zinZ on Fri Jul 13, 2007 8:52 am, edited 1 time in total.
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
If both/all plots have the same domain, why not assign them the same domain axis. If multiple plot share they same axis, they will both be updated when the axis changes (say via a zoom) on either plot. The Combined*Plot classes work on this principle.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA