Skip to content

grafit-charts


Interface: AreaSeriesOptions ​

Extends ​

  • SeriesBaseOptions

Properties ​

fill? ​

optional fill?: string


fillOpacity? ​

optional fillOpacity?: number


id? ​

optional id?: string

Inherited from ​

SeriesBaseOptions.id


label? ​

optional label?: Switchable & FontOptions & LabelOverlapOptions & object

Value labels at points: top (by default) / bottom / left / right.

Type Declaration ​

formatter? ​

optional formatter?: (params) => string

Parameters ​
params ​
datum ​

Datum

value ​

number

Returns ​

string

placement? ​

optional placement?: "top" | "right" | "bottom" | "left"


lineDash? ​

optional lineDash?: number[]


marker? ​

optional marker?: Switchable & object

Off by default; showOn: 'hover' turns them on for the highlighted point alone.

Type Declaration ​

fill? ​

optional fill?: string

itemStyler? ​

optional itemStyler?: Styler<MarkerItemStylerParams, MarkerItemStyle>

Style of one marker by its datum — to paint the points of the area by value; the fill and the outline keep the series color. Undefined leaves the marker as it is; a partial style is laid over it. Its label.color colours the value label of the point, markers shown or not.

shape? ​

optional shape?: MarkerShape

showOn? ​

optional showOn?: "always" | "hover"

'always' — a marker on every point; 'hover' — only on the highlighted one.

size? ​

optional size?: number

stroke? ​

optional stroke?: string

strokeWidth? ​

optional strokeWidth?: number


name? ​

optional name?: string

Inherited from ​

SeriesBaseOptions.name


normalizedTo? ​

optional normalizedTo?: number

Normalize the stack to a total (100 — percentage stack); only with stacked.


showInLegend? ​

optional showInLegend?: boolean

Inherited from ​

SeriesBaseOptions.showInLegend


stacked? ​

optional stacked?: boolean


stackGroup? ​

optional stackGroup?: string


stroke? ​

optional stroke?: string


strokeWidth? ​

optional strokeWidth?: number


tooltip? ​

optional tooltip?: Switchable & object

Type Declaration ​

renderer? ​

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

Parameters ​
params ​

SeriesTooltipRendererParams

Returns ​

string | TooltipContentData

Inherited from ​

SeriesBaseOptions.tooltip


type ​

type: "area"


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