SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Dear all,

In our application we have 2 separate charts which are hosted in 2 different usercontrols displayed side by side.
What is the way to syhnonise for instance the zoom on this 2 chart ?

I have done that when chart are hosted in same control but have no idea how to do that in such case of 2 different control hosted

Do I need to create an attached property on second chart and pass something from chart 1 to chart 2 ?

Thanks for help

Version
4
  • You must to post comments
0
0

Hi there,

I would suggest to bind two VisibleRanges of the X axes of both charts to the same property in a ViewModel. We have an example where there are two surfaces which have their ranges bound to a property called SharedVisibleRange here:
https://www.scichart.com/example/wpf-chart-example-sync-multi-chart-mouse/

Please refer to its code as an example of how this can be done.

Hope this helps,

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.