'Declaration Public Function Add( _ ByVal chartType As ChartType, _ ByVal axisGroup As AxisGroup _ ) As ComboChartGroup
public ComboChartGroup Add( ChartType chartType, AxisGroup axisGroup )
Exception | Description |
---|---|
System.NotSupportedException | The specified chartType is not supported within a combo chart. See documentation for the WorksheetChart.SetComboChartSourceData method for a list of supported chart types. |
This method returns an object which provides a way to set chart-specific properties for a Infragistics.Documents.Excel.Charts.Series that is displayed within a combo chart.
For example, to change the WorksheetChart.GapWidth property for each series associated with a bar chart contained within a combo chart, set the ComboChartGroup.GapWidth property of the instance returned from this method.
If a ComboChartGroup instance corresponding to the specified chartType and axisGroup already exists, that instance is returned; otherwise a new instance is created and that instance is returned.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2