A collection of [[ComboChartGroup]] objects for a [[WorksheetChart]]

This collection is used to apply chart-specific properties to [[Series]] which appear within a combo chart.

See

  • [[ComboChartGroup]]
  • [[WorksheetChart.comboChartGroups]]

Hierarchy

Hierarchy (view full)

Implements

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get chart(): WorksheetChart
  • Returns the owning chart (read-only)

    See

    [[owner]]

    Returns WorksheetChart

  • get count(): number
  • Returns the number of items in the collection (read-only)

    Returns number

  • get isReadOnly(): boolean
  • Determines if the collecion can be modified (read-only)

    Returns boolean

  • get owner(): ChartObject
  • returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart

    See

    [[chart]]

    Returns ChartObject

  • get sheet(): Sheet
  • The owning sheet (read-only)

    Returns Sheet

  • get workbook(): Workbook
  • The owning workbook (read-only)

    Returns Workbook

  • get worksheet(): Worksheet
  • The owning worksheet (read-only)

    Returns Worksheet

Methods

  • Returns EnumeratorWrapper<ComboChartGroup>

  • Creates a new [[ComboChartGroup]], or returns an existing one, which matches the specified 'chartType' and 'axisGroup'.

    This method returns an object which provides a way to set chart-specific properties for a [[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.

    See

    • [[ComboChartGroup]]
    • [[remove]]

    Throws

    [[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.

    Parameters

    • chartType: ChartType

      A [[ChartType]] constant which identifies the combo chart group.

    • axisGroup: AxisGroup

      An [[AxisGroup]] constant which identifies the combo chart group.

    Returns ComboChartGroup

  • Clears the collection.

    Returns void

  • Parameters

    • other: any

    Returns boolean

  • Returns any

  • Returns any

  • Returns number

  • Returns the [[ComboChartGroup]] instance associated with the specified 'chartType' and 'axisGroup', or null if no such instance exists.

    Parameters

    Returns ComboChartGroup

  • Returns Base

  • Removes the specified [[ComboChartGroup]] from this collection.

    Parameters

    • chartType: ChartType

      A [[ChartType]] constant which identifies the combo chart group.

    • axisGroup: AxisGroup

      An [[AxisGroup]] constant which identifies the combo chart group.

    Returns boolean

  • Removes the specified [[ComboChartGroup]] from this collection.

    Parameters

    • comboChartGroup: ComboChartGroup

      The [[ComboChartGroup]] instance to be removed.

    Returns boolean

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Returns void