barchart

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarChart

type BarChart struct {
	*ui.Block
	*data.Consumer
	// contains filtered or unexported fields
}

BarChart presents categorical data with rectangular bars

func NewBarChart

func NewBarChart(c config.BarChartConfig, palette console.Palette) *BarChart

func (*BarChart) Draw

func (b *BarChart) Draw(buffer *ui.Buffer)

Draw renders the barchart

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL