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

package runchart

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

Index

Package Files

grid.go legend.go runchart.go

Constants

const (
    CommandDisableSelection = "DISABLE_SELECTION"
    CommandMoveSelection    = "MOVE_SELECTION"
)

type Mode Uses

type Mode int
const (
    ModeDefault  Mode = 0
    ModePinpoint Mode = 1
)

type RunChart Uses

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

RunChart displays observed data in a time sequence

func NewRunChart Uses

func NewRunChart(c config.RunChartConfig, palette console.Palette) *RunChart

func (*RunChart) AddLine Uses

func (c *RunChart) AddLine(Label string, color ui.Color)

func (*RunChart) Draw Uses

func (c *RunChart) Draw(buffer *ui.Buffer)

type TimeLine Uses

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

type TimePoint Uses

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

type TimeRange Uses

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

type ValueExtrema Uses

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

Package runchart imports 11 packages (graph) and is imported by 2 packages. Updated 2020-01-03. Refresh now. Tools for package owners.