Version

Add Method (ComboChartGroupCollection)

Creates a new ComboChartGroup, or returns an existing one, which matches the specified chartType and axisGroup.
Syntax
'Declaration
 
Public Function Add( _
   ByVal chartType As ChartType, _
   ByVal axisGroup As AxisGroup _
) As ComboChartGroup

Parameters

chartType
A Infragistics.Documents.Excel.Charts.ChartType constant which identifies the combo chart group.
axisGroup
An Infragistics.Documents.Excel.Charts.AxisGroup constant which identifies the combo chart group.

Return Value

A new or existing ComboChartGroup instance.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe specified chartType is not supported within a combo chart. See documentation for the WorksheetChart.SetComboChartSourceData method for a list of supported chart types.
Remarks

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.

Requirements

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

See Also