Skip to content

grafit-charts


Interface: ChordSeriesOptions

Extends

  • FlowSeriesBaseOptions

Properties

fills?

optional fills?: string[]

Inherited from

FlowSeriesBaseOptions.fills


fromField

fromField: string


id?

optional id?: string

Inherited from

FlowSeriesBaseOptions.id


label?

optional label?: Switchable & FontOptions & PartLabelBlockOptions<FlowLabelFormatterParams> & object

Node labels: the name of a node and what flows through it, drawn as one block so the two always read together — each half with its own font and its own format, layout putting the value on a line of its own (default) or in the same row behind a separator. The name is printed on its own until value.enabled asks for the number too, as on a pie.

Type Declaration

formatter?

optional formatter?: (params) => string

The whole label at once; it wins over category/value.

Parameters
params

FlowLabelFormatterParams

Returns

string

Inherited from

FlowSeriesBaseOptions.label


linkOpacity?

optional linkOpacity?: number

Ribbon opacity (0.35 by default).


name?

optional name?: string

Name of what the value of a node measures — the label of the tooltip row. Without it the row is named by the data key the value came from, which is the name of a column, not of a measure.

Inherited from

FlowSeriesBaseOptions.name


nodeSpacing?

optional nodeSpacing?: number

Gap between node arcs, in px along the inner radius (12 by default).


showInLegend?

optional showInLegend?: boolean

Inherited from

FlowSeriesBaseOptions.showInLegend


sizeField

sizeField: string


toField

toField: string


tooltip?

optional tooltip?: Switchable & object

Type Declaration

renderer?

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

Parameters
params

NodeTooltipRendererParams

Returns

string | TooltipContentData

Inherited from

FlowSeriesBaseOptions.tooltip


type

type: "chord"


visible?

optional visible?: boolean

Inherited from

FlowSeriesBaseOptions.visible