Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1730
Disabling chart features
posted

Hi,

I want to disable mouse interactions in charts. When I am clicking on chart, the cursor changes to Hand.

I don't want zoom and other features that involves mouse interaction.

Any help is appreciated.

  • 1775
    Verified Answer
    posted

    Hi, sanjaysutar

    To disable interactions with the chart and zooming you need to set the following options like this (for MVC):

    1. .VerticalZoomable(false)
    2. .HorizontalZoomable(false)
    3. .DefaultInteraction(InteractionState.None)
    4. .PanModifier(ModifierKeys.None)
    5. .DragModifier(ModifierKeys.None)

     

    SInce you are going to have a chart w/o user interaction perhaps you will also want to hide the OPD screen like this:

    1. .OverviewPlusDetailPaneVisibility(Visibility.Collapsed)

     

    Cheers, Lazar