Interface: RangeBarSeriesOptions
Extends
Omit<SeriesBaseOptions,"yField"|"name">
Properties
cornerRadius?
optionalcornerRadius?:number
direction?
optionaldirection?:"vertical"|"horizontal"
fill?
optionalfill?:string|RangeBarFillFn
Bar fill. A callback receives each datum and returns a color — use it to paint bars by category/status (e.g. a Gantt chart coloured by task state).
fillOpacity?
optionalfillOpacity?:number
id?
optionalid?:string
Inherited from
label?
optionallabel?:Switchable&FontOptions&object
Value labels: same placements as bar (top, inner-top, center, …).
Type Declaration
formatter?
optionalformatter?: (params) =>string
Parameters
params
datum
high
number
low
number
Returns
string
placement?
optionalplacement?:RectLabelPlacement
name?
optionalname?:string
showInLegend?
optionalshowInLegend?:boolean
Inherited from
LineSeriesOptions.showInLegend
tooltip?
optionaltooltip?:Switchable&object
Type Declaration
renderer?
optionalrenderer?: (params) =>string|TooltipContentData
Parameters
params
SeriesTooltipRendererParams
Returns
string | TooltipContentData
Inherited from
type
type:
"range-bar"
visible?
optionalvisible?:boolean
Inherited from
xField
xField:
string
Inherited from
xName?
optionalxName?:string
Inherited from
yHighField
yHighField:
string
yLowField
yLowField:
string