Page 1 of 1

Draw Zoom rectangle

Posted: Tue May 27, 2014 2:23 pm
by frank
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

Re: Draw Zoom rectangle

Posted: Tue May 27, 2014 2:36 pm
by ArctionPasi
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.