package
0.20.0
Repository: https://github.com/mum4k/termdash.git
Documentation: pkg.go.dev

# Packages

Binary barchartdemo displays a couple of BarChart widgets.

# Functions

BarColors sets the colors of each of the bars.
BarGap sets the width of the space between the bars.
BarWidth sets the width of the bars.
Char sets the rune that is used when drawing the rectangle representing the bars.
LabelColors sets the colors of each of the labels under the bars.
Labels sets the labels displayed under each bar, Bars are created on a call to Values(), each value ends up in its own Bar.
New returns a new BarChart.
ShowValues tells the bar chart to display the actual values inside each of the bars.
ValueColors sets the colors of each of the values in the bars.

# Constants

DefaultBarColor is the default color of a bar, unless specified otherwise via the BarColors option.
DefaultBarGap is the default value for the BarGap option.
DefaultChar is the default value for the Char option.
DefaultLabelColor is the default color of a bar label, unless specified otherwise via the LabelColors option.
DefaultValueColor is the default color of a bar value, unless specified otherwise via the ValueColors option.

# Structs

BarChart displays multiple bars showing relative ratios of values.

# Interfaces

Option is used to provide options.