sampler: github.com/sqshq/sampler/component/barchart Index | Files

package barchart

import "github.com/sqshq/sampler/component/barchart"

Index

Package Files

barchart.go

type BarChart Uses

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

BarChart presents categorical data with rectangular bars

func NewBarChart Uses

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

func (*BarChart) Draw Uses

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

Draw renders the barchart

Package barchart imports 10 packages (graph) and is imported by 1 packages. Updated 2020-01-03. Refresh now. Tools for package owners.