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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.