An object that represents a specific series in a chart

Series

new Series(a: IChartObject): Series

Returns Series

$t: Type
applyPicToEnd: boolean
applyPicToFront: boolean
applyPicToSides: boolean
axisBinning: CategoryAxisBinning
axisGroup: AxisGroup
barShape: BarShape
border: ChartBorder
boxAndWhiskerSettings: BoxAndWhiskerSettings
bubbleSizes: SeriesValues
chartType: ChartType
errorBars: ErrorBars
explosion: number
fill: ChartFillBase
geographicMapSettings: GeographicMapSettings
invertIfNegative: boolean
leaderLines: LeaderLines
line: ChartLine
markerBorder: ChartBorder
markerFill: ChartFillBase
markerSize: number
markerStyle: MarkerStyle
name: SeriesName
owningSeries: Series
pictureType: PictureType
pictureUnit: number
plotOrder: number
showDataLabels: boolean
showWaterfallConnectorLines: boolean
smooth: boolean
type: SeriesType
values: SeriesValues
xValues: XValues

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

get barShapeResolved(): BarShape

Returns BarShape

Inherited from: ChartObject

Returns the owning chart (read-only)

get chart(): WorksheetChart

Returns WorksheetChart

Returns a [[SeriesDataLabels]] instance which applies to all [[DataLabel]] instances which do not have a specific setting for a given property.

get dataLabels(): SeriesDataLabels

Returns SeriesDataLabels

Inherited from: ChartObject

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

get owner(): ChartObject

Returns ChartObject

Inherited from: ChartObject

The owning sheet (read-only)

get sheet(): Sheet

Returns Sheet

Inherited from: ChartObject

The owning workbook (read-only)

get workbook(): Workbook

Returns Workbook

Inherited from: ChartObject

The owning worksheet (read-only)

get worksheet(): Worksheet

Returns Worksheet

Returns the [[DataPoint]] instance at the specified ordinal position within this collection.

dataPointCollection(index: number): DataPoint

Parameters

  • index: number

    A zero based index

Returns DataPoint

Returns the [[Trendline]] instance at the specified ordinal position within the collection.

trendlineCollection(index: number): Trendline

Parameters

  • index: number

    A zero based index

Returns Trendline