plotting

package
v2.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: MIT Imports: 15 Imported by: 6

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 []*metricSource.MetricData) (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