Back to godoc.org
github.com/sqshq/sampler/component/sparkline

package sparkline

v1.1.0
Latest Go to latest
Published: Dec 24, 2019 | License: GPL3 | Module: github.com/sqshq/sampler

Index

type SparkLine

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

SparkLine displays general shape of a measurement variation over time

func NewSparkLine

func NewSparkLine(c config.SparkLineConfig, palette console.Palette) *SparkLine

func (*SparkLine) Draw

func (s *SparkLine) Draw(buffer *ui.Buffer)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier