Features · type

Horizontal bar

native

Bars along the y axis

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.orientation=horizontal.

Source: chartkit:packages/core/src/generated/schema.ts:847

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

Lane C has more.Lane C has more.051015AC
{
  "version": "1",
  "type": "bar",
  "data": [
    {
      "lane": "A",
      "stops": 12
    },
    {
      "lane": "C",
      "stops": 15
    }
  ],
  "encoding": {
    "x": "lane",
    "y": "stops"
  },
  "a11y": {
    "alt": "Lane C has more."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "mark": {
    "orientation": "horizontal"
  }
}

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.horizontal.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.options.indexAxis=ytypes · strongchart.js/dist/types/index.d.ts:1609
RechartsnativeBarChart.layout=verticallayout="vertical" + swapped axestypes · strongrecharts/types/util/types.d.ts:1367
Apache EChartsnativeyAxis.type=categoryswap axis typestypes · strongecharts/types/dist/shared.d.ts:2729
Highchartsnativeseries.type=bartypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.orientation=htypes · strongplot-schema.json#traces.{bar,box,funnel,histogram,sankey,scatter,…}.attributes.orientation
NivonativeBar.layout=horizontaltypes · strong@nivo/bar/dist/types/types.d.ts:168
VictorynativeVictoryBar.horizontaltypes · strongvictory-core/lib/victory-util/common-props.d.ts:28
visxnativeBarGroupHorizontal, BarStackHorizontaltypes · strong@visx/shape/lib/shapes/BarGroupHorizontal.d.ts:20
ApexChartsnativeplotOptions.bar.horizontaltypes · strongapexcharts/types/apexcharts.d.ts:3099
Tremor (npm)nativeBarChart.layoutlayout="vertical"types · strong@tremor/react/dist/index.d.ts:100
Observable PlotnativebarXtypes · strong@observablehq/plot/src/marks/bar.d.ts:162
Vega-Litenativemark=barput the quantitative field on xtypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnativeseries.direction=horizontaltypes · strongag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:60
amCharts 5nativeColumnSeriescategory axis on ytypes · strong@amcharts/amcharts5/.internal/charts/xy/series/ColumnSeries.d.ts:33
Google ChartsnativeBarCharttypes · strong@types/google.visualization/index.d.ts:858
uPlotpartialgrep: barsbars({ ori: 1 }) with rotated scalesgrep · weak788: bars?
TradingView Lightweight Chartsunknown—conflict · unknown—
MUI X ChartsnativeBarChart.layout=horizontaltypes · strong@mui/x-charts/BarChart/BarChart.d.mts:54
Mermaid (chart-ish diagrams only)nativeMermaidConfig.xyChart.chartOrientation=horizontaltypes · strongmermaid/dist/config.type.d.ts:1085
AntV G2nativegrep: transposecoordinate.transform transposegrep · weak@antv/g2/lib/index.d.ts:54