Skip to content

grafit-charts


Interface: LineSeriesOptions

Extends

  • SeriesBaseOptions

Properties

id?

optional id?: string

Inherited from

SeriesBaseOptions.id


label?

optional label?: Switchable & FontOptions & 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?: "left" | "right" | "bottom" | "top"


lineDash?

optional lineDash?: number[]


marker?

optional marker?: Switchable & object

Type Declaration

fill?

optional fill?: string

shape?

optional shape?: MarkerShape

size?

optional size?: number

stroke?

optional stroke?: string

strokeWidth?

optional strokeWidth?: number


name?

optional name?: string

Inherited from

SeriesBaseOptions.name


showInLegend?

optional showInLegend?: boolean

Inherited from

SeriesBaseOptions.showInLegend


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: "line"


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