Interface: HistogramSeriesOptions
Extends
Omit<SeriesBaseOptions,"yField"|"name">
Properties
aggregation?
optionalaggregation?:"count"|"sum"|"mean"
binCount?
optionalbinCount?:number
bins?
optionalbins?: [number,number][]
Explicit bin edges: [[min,max], ...].
fill?
optionalfill?:string
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
value
number
x0
number
x1
number
Returns
string
placement?
optionalplacement?:RectLabelPlacement
name?
optionalname?:string
showInLegend?
optionalshowInLegend?:boolean
Inherited from
LineSeriesOptions.showInLegend
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
type
type:
"histogram"
visible?
optionalvisible?:boolean
Inherited from
xField
xField:
string
Numeric field used to build the bins.
Overrides
xName?
optionalxName?:string
Inherited from
yField?
optionalyField?:string
Aggregation field; without it the count is used.