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

0
0

hi,
I can zoom the chart if I drag the grip of scichart scroll bar.
Is there a way to disable this.

It can be done if i set GripsThickness = 0, but I am looking for other options.

Version
latest
  • You must to post comments
0
0

Hi Vibin,

Thanks for your question. You can set the IsHitTestVisible to “False” in a style and apply it to the GripsStyle property on a SciChartScrollbar:

        <Style x:Key="GripsStyle" TargetType="Control">
            <Setter Property="IsHitTestVisible" Value="False" />
        </Style>


        <s:SciChartScrollbar
            Width="{Binding ElementName=BottomAxis, Path=ActualWidth}"
            Margin="0,0,0,3"
            Axis="{Binding ElementName=BottomAxis}"
            GripsStyle="{StaticResource GripsStyle}" />

Hope this helps!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.