API / Components / ChartTooltipContentProps
Defined in: src/components/Tooltip/ChartTooltipContent.tsx:9
Properties
| Property | Type | Description |
|---|---|---|
headerFormat? |
CustomFormat | ValueFormat |
- |
hovered? |
TooltipDataChunk[] |
- |
pinned? |
boolean |
- |
qa? |
string |
- |
renderer? |
(args: ChartTooltipRendererArgs) => null | ReactElement |
- |
rowRenderer? |
(args: ChartTooltipRowRendererArgs) => null | ReactElement |
- |
totals? |
object |
- |
totals.aggregation? |
"sum" | (args) => ChartTooltipTotalsAggregationValue |
The aggregation method for calculating totals. It can be a built-in function (e.g., 'sum') or a custom function. Default 'sum' |
totals.enabled? |
boolean |
Enables/disables the display of totals Default false |
totals.label? |
string |
The label text for the totals. For built-in aggregations, the label can be omitted. |
totals.valueFormat? |
ValueFormat |
Formatting settings for totals tooltip value. |
valueFormat? |
ValueFormat |
- |
xAxis? |
null | ChartXAxis |
- |
yAxis? |
ChartYAxis |
- |
Previous
Next