Articles in this section

How to implement zooming with keyboard shortcuts in WinForms Chart

Zooming functionality enhances data visualization by allowing users to focus on specific regions of a chart. In Syncfusion WinForms ChartControl, zooming can be triggered using mouse interactions, but it can also be customized to respond to keyboard shortcuts for improved accessibility and user experience.



This article explains how to implement zooming using keyboard shortcuts in a WinForms ChartControl.

Steps to Enable Zooming with Keyboard Shortcuts

1. Enable Zooming in ChartControl

Set the EnableXZooming and EnableYZooming property to true to enable zooming functionality:

chartControl1.EnableXZooming = true;
chartControl1.EnableYZooming = true;
chartControl1.EnableXZooming = True
chartControl1.EnableYZooming = True

2. Enable Keyboard Zooming

Set the KeyZoom property to true to allow zooming via keyboard shortcuts:

chartControl1.KeyZoom = true;
chartControl1.KeyZoom = True

For more details on supported keyboard interactions and zooming behavior, refer to the Syncfusion documentation.


Conclusion

I hope you enjoyed learning about how to implement zooming with keyboard shortcuts in 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