Pre loader

Disable Zoom with SciChartScrollBar

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

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.

Try SciChart Today

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

Start TrialCase Studies