Documentation ¶
Index ¶
- type PlotTheme
- func (theme *PlotTheme) GetAnnotationStyle(thresholdType string) chart.Style
- func (theme *PlotTheme) GetBackgroundStyle(maxMarkLen int) chart.Style
- func (theme *PlotTheme) GetCanvasStyle() chart.Style
- func (theme *PlotTheme) GetGridStyle() chart.Style
- func (theme *PlotTheme) GetLegendStyle() chart.Style
- func (theme *PlotTheme) GetSerieStyles(curveInd int) (chart.Style, chart.Style)
- func (theme *PlotTheme) GetThresholdStyle(thresholdType string) chart.Style
- func (theme *PlotTheme) GetTitleStyle() chart.Style
- func (theme *PlotTheme) GetXAxisStyle() chart.Style
- func (theme *PlotTheme) GetYAxisStyle() chart.Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlotTheme ¶
type PlotTheme struct {
// contains filtered or unexported fields
}
PlotTheme implements moira.PlotTheme interface
func (*PlotTheme) GetAnnotationStyle ¶
GetAnnotationStyle returns annotation style
func (*PlotTheme) GetBackgroundStyle ¶
GetBackgroundStyle returns background style
func (*PlotTheme) GetCanvasStyle ¶
func (theme *PlotTheme) GetCanvasStyle() chart.Style
GetCanvasStyle returns canvas style
func (*PlotTheme) GetGridStyle ¶
func (theme *PlotTheme) GetGridStyle() chart.Style
GetGridStyle returns grid style
func (*PlotTheme) GetLegendStyle ¶
func (theme *PlotTheme) GetLegendStyle() chart.Style
GetLegendStyle returns legend style
func (*PlotTheme) GetSerieStyles ¶
GetSerieStyles returns curve and single point styles
func (*PlotTheme) GetThresholdStyle ¶
GetThresholdStyle returns threshold style
func (*PlotTheme) GetTitleStyle ¶
func (theme *PlotTheme) GetTitleStyle() chart.Style
GetTitleStyle returns title style
func (*PlotTheme) GetXAxisStyle ¶
func (theme *PlotTheme) GetXAxisStyle() chart.Style
GetXAxisStyle returns x axis style
func (*PlotTheme) GetYAxisStyle ¶
func (theme *PlotTheme) GetYAxisStyle() chart.Style
GetYAxisStyle returns y axis style
Click to show internal directories.
Click to hide internal directories.