Interface: FunnelSeriesOptions
Extends
FunnelSeriesBaseOptions
Properties
calloutLine?
optionalcalloutLine?:Switchable&object
Line from a segment to its outside label (segment color by default).
Type Declaration
length?
optionallength?:number
stroke?
optionalstroke?:string
strokeWidth?
optionalstrokeWidth?:number
Inherited from
FunnelSeriesBaseOptions.calloutLine
fills?
optionalfills?:string[]
Inherited from
FunnelSeriesBaseOptions.fills
id?
optionalid?:string
Inherited from
FunnelSeriesBaseOptions.id
itemSpacing?
optionalitemSpacing?:number
Gap between segments (4 by default).
Inherited from
FunnelSeriesBaseOptions.itemSpacing
label?
optionallabel?:Switchable&FontOptions&PartLabelBlockOptions<FunnelLabelFormatterParams> &object
Stage labels: the name and the value of a stage, drawn as one block so the two always read together — each half with its own font, layout putting the value in the same row (default) or on a line of its own. placement moves the whole block inside the segment (auto-contrast) or outside it, on a callout line to the right.
Type Declaration
formatter?
optionalformatter?: (params) =>string
The whole label at once; it wins over category/value.
Parameters
params
datum
stage
string
value
number
Returns
string
placement?
optionalplacement?:"outside"|"inside"
Inherited from
FunnelSeriesBaseOptions.label
name?
optionalname?:string
Inherited from
FunnelSeriesBaseOptions.name
showInLegend?
optionalshowInLegend?:boolean
Inherited from
FunnelSeriesBaseOptions.showInLegend
stageField
stageField:
string
Stage name.
Inherited from
FunnelSeriesBaseOptions.stageField
stageName?
optionalstageName?:Formattable<PartNameParams>
How the value of stageField becomes text — for the legend, the tooltip heading and the name half of a stage label alike. A name is a field value, and the format of that field belongs to the series rather than to each place the name is printed in. label.category overrides it where a label wants something shorter than the legend.
Inherited from
FunnelSeriesBaseOptions.stageName
tooltip?
optionaltooltip?:Switchable&object
Type Declaration
renderer?
optionalrenderer?: (params) =>string|TooltipContentData
Parameters
params
FunnelTooltipRendererParams
Returns
string | TooltipContentData
Inherited from
FunnelSeriesBaseOptions.tooltip
type
type:
"funnel"
valueField
valueField:
string
Stage value.
Inherited from
FunnelSeriesBaseOptions.valueField
visible?
optionalvisible?:boolean
Inherited from
FunnelSeriesBaseOptions.visible
widthRatio?
optionalwidthRatio?:number
Fraction of the plot width used by the shape (0.62 by default); independent of labels.
Inherited from
FunnelSeriesBaseOptions.widthRatio