Skip to content

grafit-charts


Interface: PyramidSeriesOptions

Extends

  • StandaloneSeriesBaseOptions

Properties

calloutLine?

optional calloutLine?: Switchable & object

Line from a segment to its outside label (segment color by default).

Type Declaration

length?

optional length?: number

stroke?

optional stroke?: string

strokeWidth?

optional strokeWidth?: number


fills?

optional fills?: string[]

Inherited from

StandaloneSeriesBaseOptions.fills


id?

optional id?: string

Inherited from

StandaloneSeriesBaseOptions.id


itemSpacing?

optional itemSpacing?: number

Gap between segments (0 by default — solid pyramid).


label?

optional label?: Switchable & FontOptions & object

Labels: outside on the right (by default) or inside with automatic contrast.

Type Declaration

formatter?

optional formatter?: (params) => string

Parameters
params
datum

Datum

stage

string

value

number

Returns

string

placement?

optional placement?: "inside" | "outside"


name?

optional name?: string


reverse?

optional reverse?: boolean

Bottom-up (apex at the top by default).


showInLegend?

optional showInLegend?: boolean

Inherited from

StandaloneSeriesBaseOptions.showInLegend


stageField

stageField: string


type

type: "pyramid"


valueField

valueField: string


visible?

optional visible?: boolean

Inherited from

StandaloneSeriesBaseOptions.visible


widthRatio?

optional widthRatio?: number

Fraction of the plot width used by the shape (0.62 by default); independent of labels.