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.
Constructors
Section titled "Constructors"WorksheetChart
new WorksheetChart(a: number): WorksheetChart Returns WorksheetChart
Properties
Section titled "Properties"$t: Type autoScaling
Section titled "autoScaling"autoScaling: boolean barShape
Section titled "barShape"barShape: BarShape bottomRightCornerCell
Section titled "bottomRightCornerCell"Inherited from: WorksheetShapeGroupBase
bottomRightCornerCell: WorksheetCell bottomRightCornerPosition
Section titled "bottomRightCornerPosition"Inherited from: WorksheetShapeGroupBase
bottomRightCornerPosition: IgPoint chartTitle
Section titled "chartTitle"chartTitle: ChartTitle chartType
Section titled "chartType"chartType: ChartType depthPercent
Section titled "depthPercent"depthPercent: number displayBlanksAs
Section titled "displayBlanksAs"displayBlanksAs: DisplayBlanksAs doughnutHoleSize
Section titled "doughnutHoleSize"doughnutHoleSize: number dropLines
Section titled "dropLines"dropLines: ChartDropLines Inherited from: WorksheetShapeGroupBase
fill: ShapeFill firstSliceAngle
Section titled "firstSliceAngle"firstSliceAngle: number flippedHorizontally
Section titled "flippedHorizontally"Inherited from: WorksheetShapeGroupBase
flippedHorizontally: boolean flippedVertically
Section titled "flippedVertically"Inherited from: WorksheetShapeGroupBase
flippedVertically: boolean gapDepth
Section titled "gapDepth"gapDepth: number gapWidth
Section titled "gapWidth"gapWidth: number heightPercent
Section titled "heightPercent"heightPercent: number highLowLines
Section titled "highLowLines"highLowLines: ChartHighLowLines legend
Section titled "legend"legend: Legend outline
Section titled "outline"Inherited from: WorksheetShapeGroupBase
outline: ShapeOutline perspective
Section titled "perspective"perspective: number plotVisibleOnly
Section titled "plotVisibleOnly"plotVisibleOnly: boolean positioningMode
Section titled "positioningMode"Inherited from: WorksheetShapeGroupBase
positioningMode: ShapePositioningMode rightAngleAxes
Section titled "rightAngleAxes"rightAngleAxes: boolean rotationX
Section titled "rotationX"rotationX: number rotationY
Section titled "rotationY"rotationY: number secondPlotSize
Section titled "secondPlotSize"secondPlotSize: number seriesLines
Section titled "seriesLines"seriesLines: ChartSeriesLines seriesOverlap
Section titled "seriesOverlap"seriesOverlap: number topLeftCornerCell
Section titled "topLeftCornerCell"Inherited from: WorksheetShapeGroupBase
topLeftCornerCell: WorksheetCell topLeftCornerPosition
Section titled "topLeftCornerPosition"Inherited from: WorksheetShapeGroupBase
topLeftCornerPosition: IgPoint upDownBars
Section titled "upDownBars"upDownBars: UpDownBars varyColors
Section titled "varyColors"varyColors: boolean visible
Section titled "visible"Inherited from: WorksheetShapeGroupBase
visible: boolean Accessors
Section titled "Accessors"backWall
Section titled "backWall"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
barShapeResolved
Section titled "barShapeResolved"Returns the resolved value of the [[barShape]] property.
get barShapeResolved(): BarShape Returns BarShape
chartArea
Section titled "chartArea"Returns a [[chartArea]] object that represents the complete chart area for the chart. Read-only.
get chartArea(): ChartArea Returns ChartArea
floor
Section titled "floor"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
plotArea
Section titled "plotArea"Returns a PlotArea object that represents the plot area of a chart. Read-only.
get plotArea(): PlotArea Returns PlotArea
sheet
Section titled "sheet"Inherited from: WorksheetShapeGroupBase
Gets the worksheet on which the shape resides. The worksheet on which the shape resides.
get sheet(): Sheet Returns Sheet
sideWall
Section titled "sideWall"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
wallDefault
Section titled "wallDefault"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
worksheet
Section titled "worksheet"Inherited from: WorksheetShapeGroupBase
Gets the worksheet on which the shape resides. The worksheet on which the shape resides.
get worksheet(): Worksheet Returns Worksheet
Methods
Section titled "Methods"axisCollection
Section titled "axisCollection"Indexer
axisCollection(type: AxisType, group: AxisGroup): Axis Parameters
Returns Axis
clearUnknownData
Section titled "clearUnknownData"Inherited from: WorksheetShapeGroupBase
Clears the cached unknown shape data which was read in from a parsed excel file.
clearUnknownData(): void Returns void
comboChartGroups
Section titled "comboChartGroups"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:
ChartTypeA [[ChartType]] constant which identifies the combo chart group.
- axisGroup:
AxisGroupAn [[AxisGroup]] constant which identifies the combo chart group.
Returns ComboChartGroup
getBoundsInTwips
Section titled "getBoundsInTwips"Inherited from: WorksheetShapeGroupBase
Gets the bounds of the shape in twips (1/20th of a point).
getBoundsInTwips(): IgRect Returns IgRect
seriesCollection
Section titled "seriesCollection"Indexer
seriesCollection(index: number): Series Parameters
- index:
numberA zero based index
Returns Series
setBoundsInTwips
Section titled "setBoundsInTwips"Inherited from: WorksheetShapeGroupBase
Sets the bounds of the shape in twips (1/20th of a point).
setBoundsInTwips(sheet: Sheet, bounds: IgRect): void Parameters
- sheet:
SheetThe worksheet on which the shape should be placed.
- bounds:
IgRectThe new bounds where the shape should be placed.
Returns void
setComboChartSourceData
Section titled "setComboChartSourceData"Sets the source data range for a combo chart.
setComboChartSourceData(dataRange: string, seriesChartTypes: ChartType[], plotByRows: boolean, cellReferenceMode: CellReferenceMode): void Parameters
- dataRange:
stringThe 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:
booleanOptional. 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:
CellReferenceModeOptional. Determines how to parse the dataRange.
Returns void
setSourceData
Section titled "setSourceData"Sets the source data range for the chart.
setSourceData(dataRange: string, plotByRows: boolean, cellReferenceMode: CellReferenceMode): void Parameters
- dataRange:
stringThe data range for the chart
- plotByRows:
booleanOptional. 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:
CellReferenceModeOptional. Determines how to parse the dataRange.
Returns void
shapes
Section titled "shapes"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:
numberThe zero-based index of the shape to get.
Returns WorksheetShape
createPredefinedShape
Section titled "createPredefinedShape"Inherited from: WorksheetShapeGroupBase
Creates a shape which is predefined in Microsoft Excel.
createPredefinedShape(shapeType: PredefinedShapeType): WorksheetShape Parameters
- shapeType:
PredefinedShapeTypeThe type of shape to create.
Returns WorksheetShape
staticInit
Section titled "staticInit"staticInit(): void