diff --git a/apps/v4/content/docs/components/base/chart.mdx b/apps/v4/content/docs/components/base/chart.mdx index c9a015271b..e97944dbaf 100644 --- a/apps/v4/content/docs/components/base/chart.mdx +++ b/apps/v4/content/docs/components/base/chart.mdx @@ -5,12 +5,6 @@ base: base component: true --- - - -**Recharts v3:** The `chart` component now targets Recharts v3. Use `ChartTooltip.defaultIndex` for initial tooltip state, but keep persistent active shapes in your own chart state. Also remove `layout` from `` when `BarChart` already sets it, and keep a height or `min-h-*` on `ChartContainer`. - - - ` when `BarChart` already sets it. +- Keep a height or `min-h-*` on `ChartContainer` so the chart can measure correctly. + ## Installation diff --git a/apps/v4/content/docs/components/radix/chart.mdx b/apps/v4/content/docs/components/radix/chart.mdx index 71c135937f..84050ae481 100644 --- a/apps/v4/content/docs/components/radix/chart.mdx +++ b/apps/v4/content/docs/components/radix/chart.mdx @@ -5,12 +5,6 @@ base: radix component: true --- - - -**Recharts v3:** The `chart` component now targets Recharts v3. Use `ChartTooltip.defaultIndex` for initial tooltip state, but keep persistent active shapes in your own chart state. Also remove `layout` from `` when `BarChart` already sets it, and keep a height or `min-h-*` on `ChartContainer`. - - - ` when `BarChart` already sets it. +- Keep a height or `min-h-*` on `ChartContainer` so the chart can measure correctly. + ## Installation