Auto layout around legend/labels
unknown
Plot area shrinks to fit axes labels and legend
Matrix status unknown. Verification unverified · unknown.
No spec snippet. This ChartKit cell is unknown.
Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: layout.legend.space.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: layoutautomatic layout of boxes | grep · weak | chart.js/dist/types/layout.d.ts:3 |
| Recharts | partial | YAxis.widthfixed by default; 'auto' in v3 | types · strong | @types/react/index.d.ts:3710 |
| Apache ECharts | native | grid.containLabel | types · strong | echarts/types/dist/shared.d.ts:2945 |
| Highcharts | native | chart.marginauto margins when unset | types · strong | highcharts/highcharts.d.ts:6391 |
| Plotly.js | native | layout.xaxis.automargin | types · strong | plot-schema.json#layout.layoutAttributes.xaxis.automargin |
| Nivo | none | — | absence · absence | — |
| Victory | none | — | absence · absence | — |
| visx | none | — | absence · absence | — |
| ApexCharts | none | — | absence · absence | — |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: marginLeftauto margins from tick labels | grep · weak | @observablehq/plot/src/plot.d.ts:42 |
| Vega-Lite | native | grep: autosize | grep · weak | 1015: "AutoSizeParams" |
| AG Charts | native | grep: paddingautomatic layout | grep · weak | ag-charts-types/dist/types/src/presets/sparkline/sparklineAxisOptions.d.ts:15 |
| amCharts 5 | native | grep: layout | grep · weak | @amcharts/amcharts5/.internal/plugins/json/Classes.d.ts:112 |
| Google Charts | native | grep: chartArea | grep · weak | @types/google.visualization/index.d.ts:493 |
| uPlot | partial | Options.axes.size | types · strong | uplot/dist/uPlot.d.ts:1069 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: margin | grep · weak | @mui/x-charts/SparkLineChart/SparkLineChart.d.ts:13 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: autoFit | grep · weak | @antv/g2/lib/component/slider.d.ts:7 |