Skip to content

grafit-charts


Interface: FunnelSeriesOptions

Extends

  • FunnelSeriesBaseOptions

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

Inherited from

FunnelSeriesBaseOptions.calloutLine


fills?

optional fills?: string[]

Inherited from

FunnelSeriesBaseOptions.fills


id?

optional id?: string

Inherited from

FunnelSeriesBaseOptions.id


itemSpacing?

optional itemSpacing?: number

Gap between segments (4 by default).

Inherited from

FunnelSeriesBaseOptions.itemSpacing


label?

optional label?: Switchable & FontOptions & object

Labels: inside (auto-contrast) or outside on the right.

Type Declaration

formatter?

optional formatter?: (params) => string

Parameters
params
datum

Datum

stage

string

value

number

Returns

string

placement?

optional placement?: "inside" | "outside"

Inherited from

FunnelSeriesBaseOptions.label


name?

optional name?: string

Inherited from

FunnelSeriesBaseOptions.name


showInLegend?

optional showInLegend?: boolean

Inherited from

FunnelSeriesBaseOptions.showInLegend


stageField

stageField: string

Stage name.

Inherited from

FunnelSeriesBaseOptions.stageField


type

type: "funnel"


valueField

valueField: string

Stage value.

Inherited from

FunnelSeriesBaseOptions.valueField


visible?

optional visible?: boolean

Inherited from

FunnelSeriesBaseOptions.visible


widthRatio?

optional widthRatio?: number

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

Inherited from

FunnelSeriesBaseOptions.widthRatio