Articles in this section
Category / Section

How to enable the zooming option in OLAP Chart?

1 min read

You can enable the zooming option in OLAP Chart using the following code example.

C#

public MainWindow()
     {
       ViewModel.ViewModel.ConnectionString = this.GetConnectionString();
       InitializeComponent();
       this.olapchart1.Loaded += olapchart1_Loaded;  
     }
void olapchart1_Loaded(object sender, RoutedEventArgs e)
     {
       this.olapchart1.Series[0].Area.EnableZoomOnScroll = true;
     }

VB

Public Sub New()
           ViewModel.ViewModel.ConnectionString = Me.GetConnectionString()
                InitializeComponent()
                AddHandler Me.olapchart1.Loaded, AddressOf olapchart1_Loaded
End Sub
Private Sub olapchart1_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)       
                Me.olapchart1.Series(0).Area.EnableZoomOnScroll = True
End Sub

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied