Represents a group of shapes in a worksheet. This group is also a shape which can be positioned and contained within another group or on a worksheet.

WorksheetChart

new WorksheetChart(a: number): WorksheetChart

Returns WorksheetChart

$t: Type
autoScaling: boolean
barShape: BarShape

Inherited from: WorksheetShapeGroupBase

bottomRightCornerCell: WorksheetCell

Inherited from: WorksheetShapeGroupBase

bottomRightCornerPosition: IgPoint
chartTitle: ChartTitle
chartType: ChartType
depthPercent: number
displayBlanksAs: DisplayBlanksAs
doughnutHoleSize: number
dropLines: ChartDropLines

Inherited from: WorksheetShapeGroupBase

fill: ShapeFill
firstSliceAngle: number

Inherited from: WorksheetShapeGroupBase

flippedHorizontally: boolean

Inherited from: WorksheetShapeGroupBase

flippedVertically: boolean
gapDepth: number
gapWidth: number
heightPercent: number
highLowLines: ChartHighLowLines
legend: Legend

Inherited from: WorksheetShapeGroupBase

outline: ShapeOutline
perspective: number
plotVisibleOnly: boolean

Inherited from: WorksheetShapeGroupBase

positioningMode: ShapePositioningMode
rightAngleAxes: boolean
rotationX: number
rotationY: number
secondPlotSize: number
seriesLines: ChartSeriesLines
seriesOverlap: number

Inherited from: WorksheetShapeGroupBase

topLeftCornerCell: WorksheetCell

Inherited from: WorksheetShapeGroupBase

topLeftCornerPosition: IgPoint
upDownBars: UpDownBars
varyColors: boolean

Inherited from: WorksheetShapeGroupBase

visible: boolean

Returns a [[Wall]] object that allows the user to format the back wall of a 3-D chart. Read-only.

get backWall(): Wall

Returns Wall

Returns the resolved value of the [[barShape]] property.

get barShapeResolved(): BarShape

Returns BarShape

Returns a [[chartArea]] object that represents the complete chart area for the chart. Read-only.

get chartArea(): ChartArea

Returns ChartArea

Returns a [[Wall]] object that allows the user to format the bottom wall of a 3-D chart. Read-only.

get floor(): Wall

Returns Wall

Returns a PlotArea object that represents the plot area of a chart. Read-only.

get plotArea(): PlotArea

Returns PlotArea

Inherited from: WorksheetShapeGroupBase

Gets the worksheet on which the shape resides. The worksheet on which the shape resides.

get sheet(): Sheet

Returns Sheet

Returns a [[Wall]] object that allows the user to format the side wall of a 3-D chart. Read-only.

get sideWall(): Wall

Returns Wall

Returns a [[Wall]] object which represents the back and side walls, and floor of the chart. Applicable only for 3-D charts.

get wallDefault(): Wall

Returns Wall

Inherited from: WorksheetShapeGroupBase

Gets the worksheet on which the shape resides. The worksheet on which the shape resides.

get worksheet(): Worksheet

Returns Worksheet

Indexer

axisCollection(type: AxisType, group: AxisGroup): Axis

Parameters

  • type: AxisType

    The type of the axis.

  • group: AxisGroup

    The axis group, defaults to primary.

Returns Axis

Inherited from: WorksheetShapeGroupBase

Clears the cached unknown shape data which was read in from a parsed excel file.

clearUnknownData(): void

Returns void

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

comboChartGroups(chartType: ChartType, axisGroup: AxisGroup): ComboChartGroup

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

Inherited from: WorksheetShapeGroupBase

Gets the bounds of the shape in twips (1/20th of a point).

getBoundsInTwips(): IgRect

Returns IgRect

Indexer

seriesCollection(index: number): Series

Parameters

  • index: number

    A zero based index

Returns Series

Inherited from: WorksheetShapeGroupBase

Sets the bounds of the shape in twips (1/20th of a point).

setBoundsInTwips(sheet: Sheet, bounds: IgRect): void

Parameters

  • sheet: Sheet

    The worksheet on which the shape should be placed.

  • bounds: IgRect

    The new bounds where the shape should be placed.

Returns void

Sets the source data range for a combo chart.

setComboChartSourceData(dataRange: string, seriesChartTypes: ChartType[], plotByRows: boolean, cellReferenceMode: CellReferenceMode): void

Parameters

  • dataRange: string

    The data range for the combo chart

  • seriesChartTypes: ChartType[]

    An array of [[chartType]] constants which specify the chart type for each series yielded from the specified 'dataRange'.

  • plotByRows: boolean

    Optional. True to plot by rows where each row is a separate series or false to plot by columns where each column is a separate series. The default is false.

  • cellReferenceMode: CellReferenceMode

    Optional. Determines how to parse the dataRange.

Returns void

Sets the source data range for the chart.

setSourceData(dataRange: string, plotByRows: boolean, cellReferenceMode: CellReferenceMode): void

Parameters

  • dataRange: string

    The data range for the chart

  • plotByRows: boolean

    Optional. True to plot by rows where each row is a separate series or false to plot by columns where each column is a separate series. The default is false.

  • cellReferenceMode: CellReferenceMode

    Optional. Determines how to parse the dataRange.

Returns void

Inherited from: WorksheetShapeGroupBase

Gets the shape at the specified index in the collection. The shape at the specified index.

shapes(index: number): WorksheetShape

Parameters

  • index: number

    The zero-based index of the shape to get.

Returns WorksheetShape

Inherited from: WorksheetShapeGroupBase

Creates a shape which is predefined in Microsoft Excel.

createPredefinedShape(shapeType: PredefinedShapeType): WorksheetShape

Parameters

Returns WorksheetShape

staticInit(): void

Returns void