Represents a group of [[Sparkline]]s

SparklineGroup

new SparklineGroup(a: number, b: Worksheet): SparklineGroup

Returns SparklineGroup

Determines the color of the axis Note: this property is ignored unless the [[dateAxis]] property is explicity set to true.

get colorAxis(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorAxis(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the first point Note: this property is ignored unless the [[firstPoint]] property is explicity set to true.

get colorFirstPoint(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorFirstPoint(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the high point Note: this property is ignored unless the [[highPoint]] property is explicity set to true.

get colorHighPoint(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorHighPoint(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the last point Note: this property is ignored unless the [[lastPoint]] property is explicity set to true.

get colorLastPoint(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorLastPoint(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the low point Note: this property is ignored unless the [[lowPoint]] property is explicity set to true.

get colorLowPoint(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorLowPoint(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the markers Note: this property is ignored unless the [[markers]] property is explicity set to true.

get colorMarkers(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorMarkers(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the color of the negative point Note: this property is ignored unless the [[negativePoints]] property is explicity set to true.

get colorNegativePoints(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorNegativePoints(a: WorkbookColorInfo): void

Parameters

Returns void

Determines the default color for the series The color to use for the series.

get colorSeries(): WorkbookColorInfo

Returns WorkbookColorInfo

set colorSeries(a: WorkbookColorInfo): void

Parameters

Returns void

Determines whether to use a date axis

get dateAxis(): boolean

Returns boolean

set dateAxis(a: boolean): void

Parameters

  • a: boolean

Returns void

The date range (read-only) Note: this property is ignored unless the [[dateAxis]] property is explicity set to true.

get dateRange(): WorksheetRegion

Returns WorksheetRegion

The date range formula (read-only) Note: this property is ignored unless the [[dateAxis]] property is explicity set to true.

get dateRangeFormula(): Formula

Returns Formula

Determines how blanks will be displayed

get displayBlanksAs(): SparklineDisplayBlanksAs

Returns SparklineDisplayBlanksAs

set displayBlanksAs(a: SparklineDisplayBlanksAs): void

Parameters

Returns void

Determines whether values from cells that are hidden will be displayed

get displayHidden(): boolean

Returns boolean

set displayHidden(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if the x-axis will be displayed

get displayXAxis(): boolean

Returns boolean

set displayXAxis(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if the first point is displayed differently.

get firstPoint(): boolean

Returns boolean

set firstPoint(a: boolean): void

Parameters

  • a: boolean

Returns void

A unique identifier for this group (read-only). Note: this property is optional but if one group contains a guid then all groups in the collection nust also have guids generated for them.

get guid(): any

Returns any

set guid(a: any): void

Parameters

  • a: any

Returns void

Determines if the high point is displayed differently.

get highPoint(): boolean

Returns boolean

set highPoint(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if the last point is displayed differently.

get lastPoint(): boolean

Returns boolean

set lastPoint(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines the weight of a line in points.

get lineWeight(): number

Returns number

set lineWeight(a: number): void

Parameters

  • a: number

Returns void

Determines if the low point is displayed differently.

get lowPoint(): boolean

Returns boolean

set lowPoint(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if markers are displayed.

get markers(): boolean

Returns boolean

set markers(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if the negative points are displayed differently.

get negativePoints(): boolean

Returns boolean

set negativePoints(a: boolean): void

Parameters

  • a: boolean

Returns void

Determines if the sparkline goes from right to left.

get rightToLeft(): boolean

Returns boolean

set rightToLeft(a: boolean): void

Parameters

  • a: boolean

Returns void

The type of sparkline

get type(): SparklineType

Returns SparklineType

set type(a: SparklineType): void

Parameters

Returns void

A custom maximum value for the Y axis. Note: if [[verticalAxisMaxType]] property is not set to 'Custom' then this property is ignored.

get verticalAxisMax(): number

Returns number

set verticalAxisMax(a: number): void

Parameters

  • a: number

Returns void

Determines how the maximum value for the Y axis is calculated. Note: if this property is set to 'Custom' then the [[verticalAxisMax]] value will be used.

get verticalAxisMaxType(): SparklineAxisMinMax

Returns SparklineAxisMinMax

set verticalAxisMaxType(a: SparklineAxisMinMax): void

Parameters

Returns void

A custom minimum value for the Y axis. Note: if [[verticalAxisMinType]] property is not set to 'Custom' then this property is ignored.

get verticalAxisMin(): number

Returns number

set verticalAxisMin(a: number): void

Parameters

  • a: number

Returns void

Determines how the minimum value for the Y axis is calculated. Note: if this property is set to 'Custom' then the [[verticalAxisMin]] value will be used.

get verticalAxisMinType(): SparklineAxisMinMax

Returns SparklineAxisMinMax

set verticalAxisMinType(a: SparklineAxisMinMax): void

Parameters

Returns void

Returns a reference to the associated workbook.

get workbook(): Workbook

Returns Workbook

Returns a reference to the associated worksheet.

get worksheet(): Worksheet

Returns Worksheet

Assigns a new [[dateRange]]. Note: [[dateRange]] is ignored unless the [[dateAxis]] property is explicity set to true.

setDateRange(dateRange: string, cellReferenceMode: CellReferenceMode): void

Parameters

  • dateRange: string

    The string representation of the formula.

  • cellReferenceMode: CellReferenceMode

    An optional [[CellReferenceMode]] to use to parse the dateRange. If null it defaults to the workbook's mode.

Returns void

Indexer

sparklines(index: number, value: Sparkline): Sparkline

Parameters

  • index: number

    The zer-based index of an item

  • value: Sparkline

Returns Sparkline

staticInit(): void

Returns void