sampler: Index | Files

package gauge

import ""


Package Files



const (
    MinValueLabel = "min"
    MaxValueLabel = "max"
    CurValueLabel = "cur"

type Gauge Uses

type Gauge struct {
    // contains filtered or unexported fields

Gauge displays cur value between specified min and max values

func NewGauge Uses

func NewGauge(c config.GaugeConfig, palette console.Palette) *Gauge

func (*Gauge) ConsumeSample Uses

func (g *Gauge) ConsumeSample(sample *data.Sample)

func (*Gauge) Draw Uses

func (g *Gauge) Draw(buffer *ui.Buffer)

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