Skip to content

grafit-charts


Interface: HistogramTooltipRendererParams

What a histogram tooltip is written about: a bin, not a row. The renderer gets the bin's bounds and both readings of its height — the one the bar draws and the aggregate it came from.

Properties

color

color: string


count

count: number

Rows that landed in the bin.


group?

optional group?: unknown

Value of groupField for this bar; undefined without grouping.


raw

raw: number

The aggregate before normalization.


seriesName

seriesName: string

The group's label, or the series name when nothing splits it.


value

value: number

What the bar draws — the aggregate restated by normalize.


x0

x0: number

Lower bound of the bin, inclusive by default.


x1

x1: number

Upper bound of the bin.