Skip to content

grafit-charts


Interface: WaterfallSeriesOptions ​

Extends ​

  • SeriesBaseOptions<WaterfallTooltipRendererParams>

Properties ​

cornerRadius? ​

optional cornerRadius?: number


id? ​

optional id?: string

Inherited from ​

SeriesBaseOptions.id


item? ​

optional item?: object

negative? ​

optional negative?: object

negative.fill? ​

optional fill?: string

positive? ​

optional positive?: object

positive.fill? ​

optional fill?: string

total? ​

optional total?: object

total.fill? ​

optional fill?: string


itemStyler? ​

optional itemStyler?: Styler<WaterfallItemStylerParams, RectItemStyle>

Style of one step by its datum, laid over the fill item gives its kind. Undefined leaves the step as it is; a partial style is laid over it.


label? ​

optional label?: Switchable & FontOptions & LabelOverlapOptions & object

Value labels: same placements as bar (top, inner-top, center, …).

Type Declaration ​

formatter? ​

optional formatter?: (params) => string

Parameters ​
params ​
datum ​

Datum

isTotal ​

boolean

value ​

number

Returns ​

string

placement? ​

optional placement?: RectLabelPlacement


line? ​

optional line?: object

Connector lines between bars.

enabled? ​

optional enabled?: boolean

stroke? ​

optional stroke?: string


name? ​

optional name?: string

Inherited from ​

SeriesBaseOptions.name


showInLegend? ​

optional showInLegend?: boolean

Inherited from ​

SeriesBaseOptions.showInLegend


tooltip? ​

optional tooltip?: Switchable & object

Type Declaration ​

renderer? ​

optional renderer?: (params) => string | TooltipContentData

Parameters ​
params ​

WaterfallTooltipRendererParams

Returns ​

string | TooltipContentData

Inherited from ​

SeriesBaseOptions.tooltip


totals? ​

optional totals?: number[]

Data indices that are subtotals (bar drawn from zero).


type ​

type: "waterfall"


visible? ​

optional visible?: boolean

Inherited from ​

SeriesBaseOptions.visible


xField ​

xField: string

Inherited from ​

SeriesBaseOptions.xField


xName? ​

optional xName?: string

Inherited from ​

SeriesBaseOptions.xName


yField ​

yField: string

Inherited from ​

SeriesBaseOptions.yField