| month | Projects published | Proposals accepted |
|---|---|---|
| January | 24 | 18 |
| February | 31 | 22 |
| March | 28 | 25 |
| April | 35 | 30 |
| May | 42 | 36 |
| June | 38 | 33 |
<Chart.Legend />API
Chart.Legend
| Prop | Type | Default | |
|---|---|---|---|
align | "bottom" | "top" | "bottom" | Which edge of the chart the legend sits against. |
content | ReactNode | — | Replaces the default body. Omit it to get Chart.LegendContent. |
Plus every <div> prop. Source: chart/components/chart-legend.tsx.
Chart.LegendContent
| Prop | Type | Default | |
|---|---|---|---|
hideIcon | boolean | false | Drops the swatch, leaving labels only. |
nameKey | string | — | Field naming the config entry for each row. Pass it on charts coloured per row (a pie): without it the legend lists the series instead. |
Plus every <div> prop. Source: chart/components/chart-legend-content.tsx.
The legend is ordinary HTML portalled into the root's overlay layer, so it needs
room reserved for it in Chart.Root's margin — about
24px at the bottom.