sparkline

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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)

Jump to

Keyboard shortcuts

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