Type BarChart

type BarChart struct {
	Series []ChartSeries
	X      []float32
	Values [][]float32

	// Stack piles the series of one category into a single bar instead of
	// placing them side by side.
	Stack ChartStack
	// Radius rounds the free end of each bar; zero is 4.
	Radius float32

	XAxis, YAxis ChartAxis
	Grid         ChartGrid
	Legend       ChartLegendPosition

	Tooltip     ChartTooltipOptions
	HideTooltip bool
	ValueFormat func(dst []byte, v float32) []byte

	Label   string
	Version uint32
}

BarChart is the data and presentation of a bar chart. The data shape is AreaChart's: Values[k] holds the heights of Series[k], one per category, and X, when set, names the categories' numeric values for the tooltip and the axis labels (a nil X uses the category index).