BarChart¶
Bar chart of a list of values.
BarOrigin -> Left (or Right) renders a horizontal bar chart, with
categories down the left edge and bars growing sideways from zero.
ChartStyle -> "Pastel" colors each bar with a distinct color from the
named gradient color scheme.
Options¶
BarOrigin—Bottom(default, vertical) orLeft/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 namedColorDatagradient scheme (each bar gets a distinct color sampled from the scheme). Supported scheme names:"Pastel","Rainbow","SolarColors","TemperatureMap","ThermometerColors","DarkRainbow","Aquamarine","StarryNightColors","AvocadoColors","SunsetColors","FruitPunchColors","CherryTones".ChartElementFunction— custom shape for each bar.BarSpacing— gap between bars.ImageSize,PlotLabel,AxesLabel,Frame,FrameLabel,PlotRange— as forPlot.