Chart Control for C# Windows Forms Chart features scroll and zoom, selection, tooltip, trackball, title, legend, smart labels, and drill down Chart Smart Labels in WinForms C# Tutorial
The Chart controls for C# Windows Forms applications provide various features to meet specific requirements. By using this Chart control, developers can create functionalities such as scroll and zoom, selection, tooltip, trackball, title, legend, smart labels, and drill down for Chart in their Windows Forms C# projects. This Chart controls is easy to use and complete C# code sample is included for the convenience of WinForms Chart UI designers. The following are an overview of these features.
The Chart controls for C# Windows Forms provides a built-in functionality to overlap the labels. To resolve labels overlapping, we need to use the SmartLabelsController. Developers can add the controller to the Controllers collection of Chart, and the arrangement of the labels will be arranged in a way with less overlaps. this.chart1.Controllers.Add(new SmartLabelsController());
this.chart1.DisplaySmartLabels = true;
The SmartLabelsController of the WinForms Chart control uses particular strategy to resolve label overlaps for various chart types. The label overlapping may consume a lot of time, so the more methods to be generalized, the more concrete a strategy is and the performance can be expected out of it. The WinForms Chart control will choose the best of the built-in strategies to be used in the chart you are designing. |