Syncfusion.Chart.Windows
Members 


ChartControl Class

ChartControl is the root class of the chart control.
Object Model
ChartControl ClassChartAxisCollection ClassChartAxis ClassBrushInfo ClassChartBorderInfo ClassChartArea ClassChartMargins ClassChartContextMenu ClassBrushInfo ClassChartRegionCollection ClassChartRegion ClassChartCrosshair ClassChartCustomPointCollection ClassChartCustomPoint ClassChartDockingManager ClassChartFancyToolTipController ClassChartLegend ClassChartLegendsList ClassChartLegend ClassChartModel ClassChartAxis ClassChartAxis ClassChartPrintDocument ClassChartSeriesCollection ClassChartSeries ClassChartSeriesContextMenu ClassBrushInfo ClassChartStyleDialogOptions ClassChartTitle ClassChartTitlesList ClassChartTitle ClassChartToolBarInfo ClassChartTooltip ClassChartTrackball ClassChartZooming Class
Syntax
'Declaration
 
<DesignerAttribute(Syncfusion.Windows.Forms.Chart.Design.ChartControlDesigner, System.ComponentModel.Design.IDesigner)>
<DescriptionAttribute("Displays a windows form chart with other elements like axes, series")>
<ToolboxBitmapAttribute(Syncfusion.Windows.Forms.Chart.ChartControl, "ToolboxIcons.chartcontrol.bmp")>
<DefaultPropertyAttribute("Text")>
<DefaultEventAttribute("Click")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<ToolboxItemFilterAttribute("System.Windows.Forms")>
<DesignerCategoryAttribute("Component")>
Public Class ChartControl 
   Inherits System.Windows.Forms.Control
   Implements IChartAreaHost, Syncfusion.Windows.Forms.IVisualStyle 
'Usage
 
Dim instance As ChartControl
[Designer(Syncfusion.Windows.Forms.Chart.Design.ChartControlDesigner, System.ComponentModel.Design.IDesigner)]
[Description("Displays a windows form chart with other elements like axes, series")]
[ToolboxBitmap(Syncfusion.Windows.Forms.Chart.ChartControl, "ToolboxIcons.chartcontrol.bmp")]
[DefaultProperty("Text")]
[DefaultEvent("Click")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
[DesignerCategory("Component")]
public class ChartControl : System.Windows.Forms.Control, IChartAreaHost, Syncfusion.Windows.Forms.IVisualStyle  
Remarks

The ChartControl lets you create enterprise level charts with support for numerous chart types (see ChartSeries.Type). A ChartSeries containing pints of X and Y values can be added to the Series collection to get a chart rendered. The chart control has a built in "nice range calculation" engine which will automatically determine the appropriate ranges for the axes based on the series data. Chart readily supports rendering multiple series.

There is also support for multiple axes, in case you want to render multiple series with each series rendered against a unique axes. Use the Axes collection to add one or more custom axis to the default set of PrimaryXAxis and PrimaryYAxis, which also can be referred from the Axes collection. Numerous customization can be done on the axis labels through the corresponding ChartAxis instance.

The default Legend renders some default ChartLegendItems representing each series in the chart. You can add custom legends to the chart through the Legends collection. You can add custom legend items to the ChartLegend instance through the ChartLegend.CustomItems collection.

There is also a default Title and the ability to add multiple titles through the Titles collection.

The look and feel of the plot can also be customized through the ChartArea property.

There is also built in support for applying some statistical formulas and functions to the series data. Take a look at the Syncfusion.Windows.Forms.Chart.Statistics.BasicStatisticalFormulas type and the Syncfusion.Windows.Forms.Chart.Statistics.UtilityFunctions type.4

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            Syncfusion.Windows.Forms.Chart.ChartControl

AssemblyVersion

Syncfusion.Chart.Windows: 17.3460.0.26

See Also