plotting

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrNoPointsToRender

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

ErrNoPointsToRender is used to prevent unnecessary render calls

func (ErrNoPointsToRender) Error

func (err ErrNoPointsToRender) Error() string

ErrNoPointsToRender implementation with detailed error message

type Plot

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

Plot represents plot structure to render

func GetPlotTemplate

func GetPlotTemplate(theme string, location *time.Location) (*Plot, error)

GetPlotTemplate returns plot template

func (*Plot) GetRenderable

func (plot *Plot) GetRenderable(trigger *moira.Trigger, metricsData []*types.MetricData, metricsWhitelist []string) (chart.Chart, error)

GetRenderable returns go-chart to render

Directories

Path Synopsis
themes

Jump to

Keyboard shortcuts

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