Documentation
¶
Index ¶
Constants ¶
View Source
const PluginKind = "StatusHistoryChart"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
PluginSpec `json:",inline" yaml:",inline"`
}
type Legend ¶
type Legend struct {
Position LegendPosition `json:"position" yaml:"position"`
Mode LegendMode `json:"mode,omitempty" yaml:"mode,omitempty"`
Size LegendSize `json:"size,omitempty" yaml:"size,omitempty"`
}
type LegendMode ¶
type LegendMode string
const ( ListMode LegendMode = "list" TableMode LegendMode = "table" )
type LegendPosition ¶
type LegendPosition string
const ( BottomPosition LegendPosition = "bottom" RightPosition LegendPosition = "right" )
type LegendSize ¶
type LegendSize string
const ( SmallSize LegendSize = "small" MediumSize LegendSize = "medium" )
type Option ¶
func WithLegend ¶
type PluginSpec ¶
type PluginSpec struct {
Legend *Legend `json:"legend,omitempty" yaml:"legend,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.