Hi,
I have a WPF-Application with multiple charts in it. They are all synchronised when panning and zooming. Is it possible to programmatically overlay/draw the zoom rectangle on the other charts, when the user zooms by mouse in one chart?
Best regards,
Frank
Draw Zoom rectangle
Moderator: Queue Moderators
Draw Zoom rectangle
- Attachments
-
- ZoomRect.png (22.13 KiB) Viewed 7505 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Draw Zoom rectangle
Hi Frank,
By using chart's MouseDown/Move/Up event handlers, yes. For other charts, use an Annotation or PolygonSeries(4 corners) to render a box. In MouseDown, create the box. In MouseMove, resize the box. In MouseUp, get rid of the box, and use xAxis.SetRange for them to apply new zoomed scale.
By using chart's MouseDown/Move/Up event handlers, yes. For other charts, use an Annotation or PolygonSeries(4 corners) to render a box. In MouseDown, create the box. In MouseMove, resize the box. In MouseUp, get rid of the box, and use xAxis.SetRange for them to apply new zoomed scale.
LightningChart Support Team, PT