Category / Section
How to display scrollbar even if I click Reset button in scrollbar?
1 min read
To display scrollbar even if Reset button in scrollbar is clicked, the scrollbar visibility should be set to true by using Chart Control's ZoomButtonClicked event.
C#
void Form1_ZoomButtonClicked(object sender, Syncfusion.Windows.Forms.Chart.Scrolling.ChartScrollBarZoomButtonClickedEventArgs args)
{
chartControl1.GetHScrollBar(chartControl1.PrimaryXAxis).Visible = true;
}
VB
Private Sub Form1_ZoomButtonClicked(ByVal sender As Object, ByVal args As
Syncfusion.Windows.Forms.Chart.Scrolling.ChartScrollBarZoomButtonClickedEventArgs)Handles Form1_ZoomButtonClicked
chartControl1.GetHScrollBar(chartControl1.PrimaryXAxis).Visible = True
End Sub