Skip to content

BarChart

Bar chart of a list of values.

$ wo 'Head[BarChart[{1, 2, 3, 4}]]'
Graphics

Options

  • ChartLabels — category labels along the axis.
  • ChartLegends — legend entries.
  • ChartStyle — color / directive or list of directives.
  • ChartElementFunction — custom shape for each bar.
  • BarSpacing — gap between bars.
  • ImageSize, PlotLabel, AxesLabel, Frame, FrameLabel, PlotRange — as for Plot.