Pre loader

Please help me to solve the following problem about the WPF platform

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

0
0

As seen in the picture above.I want to use ScichartScrollBar to control the left and right movement of all items in the ListBox,And it doesn’t prevent me from dragging individual items.

What I mean by that is that when I use ScichartScrollBar I can control everything, and when I drag a single ListBoxItem it doesn’t affect all the other ListBoxItems

What should I do to achieve this effect?

Version
v6
Images
  • You must to post comments
0
0

Hi Zhang,

If I understand your requirements correctly, you want to achive the following:
1. Change the VisibleRange for each single item using the ZoomPanModifier
2. Change the VisibleRange for all items using the SciChartScrollbar

To support a single item scrolling, the X-Axis visible ranges should not be bound together.
This will allow the ZoomPanModifier to work properly.

To scroll the all items, you should manually set the same VisibleRange value for each X-Axis.
The SciChartScrollbar provides a special SelectedRangeChanged event which raised with a new selected visible range.
So, you can use this event to update X-Axis visible ranges and synchronize all the items.

For more information about the SciChartScrollbar, please take a look at the following documentation:
https://www.scichart.com/documentation/win/current/webframe.html#Scrollbars.html

Best regards,
Dmytro Herasymenko
SciChart WPF Developer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies