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
- sc sc asked 6 years ago
- You must login to post comments
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
- Yuriy Zadereckiy answered 6 years ago
- You must login to post comments
Please login first to submit.