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

package sparkline

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

Index

Package Files

sparkline.go

type SparkLine Uses

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

SparkLine displays general shape of a measurement variation over time

func NewSparkLine Uses

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

func (*SparkLine) Draw Uses

func (s *SparkLine) Draw(buffer *ui.Buffer)

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