Interface: PyramidSeriesOptions
Extends
StandaloneSeriesBaseOptions
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
fills?
optionalfills?:string[]
Inherited from
StandaloneSeriesBaseOptions.fills
id?
optionalid?:string
Inherited from
StandaloneSeriesBaseOptions.id
itemSpacing?
optionalitemSpacing?:number
Gap between segments (0 by default — solid pyramid).
label?
optionallabel?:Switchable&FontOptions&object
Labels: outside on the right (by default) or inside with automatic contrast.
Type Declaration
formatter?
optionalformatter?: (params) =>string
Parameters
params
datum
stage
string
value
number
Returns
string
placement?
optionalplacement?:"inside"|"outside"
name?
optionalname?:string
reverse?
optionalreverse?:boolean
Bottom-up (apex at the top by default).
showInLegend?
optionalshowInLegend?:boolean
Inherited from
StandaloneSeriesBaseOptions.showInLegend
stageField
stageField:
string
type
type:
"pyramid"
valueField
valueField:
string
visible?
optionalvisible?:boolean
Inherited from
StandaloneSeriesBaseOptions.visible
widthRatio?
optionalwidthRatio?:number
Fraction of the plot width used by the shape (0.62 by default); independent of labels.