How to work with WinForms Chart ToolBars?
Essential WinForms Chart supports toolbars that can be used to customize the chart at runtime. Toolbars can be enabled by setting the ShowToolbar property to true. By default, the toolbar provides the following options:
- A button to save the chart.
- A button to copy the chart.
- A button to print the chart.
- A button for print preview.
- A button to change the color palette at runtime.
- A button to customize the series properties at runtime.
- A button to change the chart type at runtime.
- A button to toggle the legend.
For more details on setting toolbar, refer to the WinForms Chart documentation.
this.chartControl1 = new ChartControl();
. . .
// Display ToolBar.
this.chartControl1.ShowToolbar = true;
this.chartControl1.ToolBar.DockingFree = true;Me.ChartControl1 = New ChartControl()
. . .
' Display ToolBar.
Me.ChartControl1.ShowToolbar = true
Me.ChartControl1.ToolBar.DockingFree = trueOutput
Conclusion
I hope you enjoyed learning about how to work with WinForms Chart Toolbars.
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 forums, Direct-Trac, or feedback portal. We are always happy to assist you!