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

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.