Range / floating bar
native
Bars from a low to a high value
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=bar-range.
Floating bar from low to high per category. The bar does not start at zero.
Source: chartkit:packages/core/src/charts/bar-range.ts:1
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "bar-range",
"data": [
{
"month": "Jan",
"min": -2,
"max": 6
},
{
"month": "Jul",
"min": 17,
"max": 29
}
],
"encoding": {
"x": "month",
"low": "min",
"high": "max"
},
"a11y": {
"alt": "July is warm."
},
"size": {
"width": 640,
"height": 260
}
}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: type.bar.range.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | partial | ChartTypeRegistry.bardata as [low, high] tuples (floating bars) | types · strong | chart.js/dist/types/index.d.ts:3707 |
| Recharts | partial | Bar.dataKeydataKey returning [low, high] | types · strong | recharts/types/util/types.d.ts:1208 |
| Apache ECharts | manual | series.type=customstacked transparent series or custom | mechanism · weak | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=columnrange | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.base | types · strong | plot-schema.json#traces.{bar,barpolar,waterfall}.attributes.base |
| Nivo | manual | Line.layers | mechanism · weak | @nivo/line/dist/types/types.d.ts:171 |
| Victory | native | VictoryBar | types · strong | victory-bar/lib/victory-bar.d.ts:71 |
| visx | native | Barmanual geometry | types · strong | @visx/shape/lib/shapes/Bar.d.ts:9 |
| ApexCharts | native | chart.type=rangeBar | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | barYbarY({y1, y2}) | types · strong | @observablehq/plot/src/marks/bar.d.ts:203 |
| Vega-Lite | native | mark=bar | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native | series.type=range-bar | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | native | grep: openValueYField | grep · weak | @amcharts/amcharts5/.internal/charts/xy/series/XYSeries.d.ts:292 |
| Google Charts | partial | grep: intervalinterval roles or Timeline | grep · weak | @types/google.visualization/index.d.ts:46 |
| uPlot | manual | Options.hooks | mechanism · weak | uplot/dist/uPlot.d.ts:394 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | manual | ChartsContainer | mechanism · weak | @mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | MarkTypes=interval | types · strong | @antv/g2/lib/spec/mark.d.ts:13 |