Chart.Legend.content | React.ReactNode | ((legendProps: Record<string, unknown>) => React.ReactNode) | Not set | — |
Chart.LegendContent.payload | readonly (ChartPayloadEntry & { value?: string; })[] | undefined | Not set | — |
Chart.Tooltip.content | React.ReactNode | ((tooltipProps: Record<string, unknown>) => React.ReactNode) | Not set | — |
Chart.Tooltip.hideLabel | boolean | undefined | Not set | — |
Chart.Tooltip.labelFormatter | ((label: string, payload: ChartTooltipContentProps["payload"]) => React.ReactNode) | undefined | Not set | — |
Chart.Tooltip.valueFormatter | ((value: number | string) => string) | undefined | Not set | — |
Chart.TooltipContent.active | boolean | undefined | Not set | — |
Chart.TooltipContent.hideLabel | boolean | undefined | Not set | — |
Chart.TooltipContent.label | string | undefined | Not set | — |
Chart.TooltipContent.labelFormatter | ((label: string, payload: ChartTooltipContentProps["payload"]) => React.ReactNode) | undefined | Not set | — |
Chart.TooltipContent.payload | readonly ChartPayloadEntry[] | undefined | Not set | — |
Chart.TooltipContent.valueFormatter | ((value: number | string) => string) | undefined | Not set | — |
childrenRequired | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Not set | A recharts chart component (LineChart, BarChart, etc.) |
configRequired | ChartConfig | Not set | ChartConfig mapping each data key to a label and a series index 1–6 (reads --fui-chart-N), with an optional legend icon |
dataTable | React.ReactNode | Not set | Accessible data table or textual fallback; shown visibly when recharts is missing |
empty | React.ReactNode | "No data to show" | The empty state's title, shown when the chart child's data is an empty array |
emptyAction | React.ReactNode | Not set | The empty state's one way forward (a Button) |
emptyDescription | React.ReactNode | Not set | The empty state's copy under the title: why there is nothing yet |
error | React.ReactNode | Not set | When set, replaces the chart with an error box (danger glyph, this message, retry) |
loading | boolean | undefined | false | Draws a skeleton at the chart's height while the data loads |
onRetry | (() => void) | undefined | Not set | Retry the failed load; shows a retry button in the error box |
retryLabel | string | undefined | Retry | Label for the retry button |
summary | string | undefined | Not set | Non-visual summary announced to assistive technology users |
style | CSSProperties | undefined | Not set | — |