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 ¶
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.