sparkline

package
v0.0.0-...-90d5324 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

Package sparkline draws small charts of timeseries data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sparkline

type Sparkline struct {
	// contains filtered or unexported fields
}

func New

func New(items int, fg color.Color, thresholds []blend.Threshold) *Sparkline

func (*Sparkline) Add

func (s *Sparkline) Add(n float32)

func (*Sparkline) Draw

func (s *Sparkline) Draw(dst draw.Image)

Jump to

Keyboard shortcuts

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