Skip to content

ECharts bar

Reusable interactive bar component for categorical comparisons.

Purpose
Interactive categorical comparisons.
Primitive
echarts.Bar
Kind
components.KindEChartsBar
Configuration
Label, Caption, XAxis, typed Series, size, global options, and series options.
Accessibility
Figure name comes from Label; Caption stays visible.
Usage Example
@echarts.Bar(echarts.BarConfig{
  Label: "Weekly deployments",
  XAxis: []string{"Mon", "Tue"},
  Series: []echarts.BarSeries{{Name: "Production", Data: []opts.BarData{{Value: 3}, {Value: 5}}}},
})