Bar chart of a list of values.
BarChart[{y1, y2, …, yn}]
BarChart[{…, wi[yi, …], …, wj[yj, …], …}]
BarChart[{data1, data2, …}]
Head[BarChart[{1, 2, 3, 4}]]
→ GraphicsHead[BarChart[{1, 2, 3, 4}, BarOrigin -> Left]]
→ GraphicsHead[BarChart[{1, 2, 3, 4}, ChartStyle -> "Pastel"]]
→ Graphics- BarOrigin — Bottom (default, vertical) or Left/Right (horizontal).
- LabelingFunction — applied to each bar value to label the bar's end.
- ChartLabels — category labels along the axis.
- ChartLegends — legend entries.
- ChartStyle — color / directive, list of directives, or a named
- ChartElementFunction — custom shape for each bar.
- BarSpacing — gap between bars.
- ImageSize, PlotLabel, AxesLabel, Frame,