Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5124
Synchronized zoom in two XamWebCharts
posted

I recently helped a customer implement functionality to synchronize the x-axis zoom between two XamWebCharts.  The attached sample achieves this by handing the ZoomChanging events of each chart, while employing a global boolean to check which chart starts changing first, thereby avoiding a recursive loop with both charts raising ZoomChanging simultaneously.

XWCharts_SynchZoom.zip