Interface: SankeySeriesOptions
Extends
FlowSeriesBaseOptions
Properties
fills?
optionalfills?:string[]
Inherited from
FlowSeriesBaseOptions.fills
fromField
fromField:
string
id?
optionalid?:string
Inherited from
FlowSeriesBaseOptions.id
label?
optionallabel?: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?
optionalformatter?: (params) =>string
The whole label at once; it wins over category/value.
Parameters
params
FlowLabelFormatterParams
Returns
string
Inherited from
FlowSeriesBaseOptions.label
linkOpacity?
optionallinkOpacity?:number
Opacity of the flow ribbons (0.35 by default).
name?
optionalname?: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
node?
optionalnode?:object
spacing?
optionalspacing?:number
width?
optionalwidth?:number
showInLegend?
optionalshowInLegend?:boolean
Inherited from
FlowSeriesBaseOptions.showInLegend
sizeField
sizeField:
string
toField
toField:
string
tooltip?
optionaltooltip?:Switchable&object
Type Declaration
renderer?
optionalrenderer?: (params) =>string|TooltipContentData
Parameters
params
NodeTooltipRendererParams
Returns
string | TooltipContentData
Inherited from
FlowSeriesBaseOptions.tooltip
type
type:
"sankey"
visible?
optionalvisible?:boolean
Inherited from
FlowSeriesBaseOptions.visible