Articles in this section
Category / Section

How to enable zooming with scrollbars in Syncfusion WinForms Chart?

The WinForms Chart control supports interactive zooming on both X and Y axes. Enable zooming with the EnableXZooming and EnableYZooming propertiesUse ZoomFactorX and ZoomFactorY to control the visible range on primary X and Y axes, respectively. You can also set the scrollbar positions programmatically using the ZoomPositionX and ZoomPositionY properties.

For more details on enabling Zooming, refer to the WinForms Chart documentation.

this.chartControl1 = new ChartControl();
. . .

this.chartControl1.EnableXZooming = true;
this.chartControl1.ZoomFactorX = 0.5;
Me.chartControl1 = New ChartControl()
. . .

Me.chartControl1.EnableXZooming = True
Me.chartControl1.ZoomFactorX = 0.5

Output



Conclusion

I hope you enjoyed learning about how to enable zooming with scrollbars in Syncfusion WinForms Chart.

You can refer to our WinForms Chart feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started with configuration specifications. You can also explore our WinForms Chart examples to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

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