Pre loader

KeyboardZoomPanModifier with multiple scichart surfaces

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hello,

I am trying to implement the keyboard functionality described here. However, I have several charts connected via a modifierGroup. When I try to add the following code:
sciChartSurface.chartModifiers.add(new KeyboardZoomPanModifier({ scrollFactor: 0.1, modifierGroup: 'group1' }));
it works only for the chart that is currently focused. Is it possible to extend this functionality across multiple SciChart surfaces?

Version
3.5.711
  • You must to post comments
0
0

Hello,
There is no out-of-the-box functionality for this at the moment.
So you would need to implement and manage those bindings explicitly.

Here is an example of how we tried an alternative solution to achieve something similar and bind multiple modifiers:
https://github.com/ABTSoftware/SciChart.JS.Examples/blob/master/Examples/src/components/Examples/FeaturedApps/ShowCases/ServerTrafficDashboard/ModifierGroup.ts

I hope this will be helpful.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.