Interface: BarSeriesOptions
Extends
SeriesBaseOptions
Properties
cornerRadius?
optionalcornerRadius?:number
direction?
optionaldirection?:"vertical"|"horizontal"
fill?
optionalfill?:string
fillOpacity?
optionalfillOpacity?:number
id?
optionalid?:string
Inherited from
SeriesBaseOptions.id
label?
optionallabel?:Switchable&FontOptions&object
Value labels. Outer placements: top/bottom/left/right and corners (top-left, …); center and inner-* are inside the bar (auto-contrast + outline).
Type Declaration
formatter?
optionalformatter?: (params) =>string
Parameters
params
datum
value
number
Returns
string
placement?
optionalplacement?:RectLabelPlacement
name?
optionalname?:string
Inherited from
SeriesBaseOptions.name
normalizedTo?
optionalnormalizedTo?:number
Normalize the stack to a total (100 — percentage stack); only with stacked.
showInLegend?
optionalshowInLegend?:boolean
Inherited from
SeriesBaseOptions.showInLegend
stacked?
optionalstacked?:boolean
stackGroup?
optionalstackGroup?:string
stroke?
optionalstroke?:string
strokeWidth?
optionalstrokeWidth?:number
tooltip?
optionaltooltip?:Switchable&object
Type Declaration
renderer?
optionalrenderer?: (params) =>string|TooltipContentData
Parameters
params
SeriesTooltipRendererParams
Returns
string | TooltipContentData
Inherited from
SeriesBaseOptions.tooltip
type
type:
"bar"
visible?
optionalvisible?:boolean
Inherited from
SeriesBaseOptions.visible
xField
xField:
string
Inherited from
SeriesBaseOptions.xField
xName?
optionalxName?:string
Inherited from
SeriesBaseOptions.xName
yField
yField:
string
Inherited from
SeriesBaseOptions.yField