dark

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: 3 Imported by: 0

Documentation

Index

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 NewTheme

func NewTheme(themeFont *truetype.Font) (*PlotTheme, error)

NewTheme returns dark theme

func (*PlotTheme) GetAnnotationStyle

func (theme *PlotTheme) GetAnnotationStyle(thresholdType string) chart.Style

GetAnnotationStyle returns annotation style

func (*PlotTheme) GetBackgroundStyle

func (theme *PlotTheme) GetBackgroundStyle(maxMarkLen int) chart.Style

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

func (theme *PlotTheme) GetSerieStyles(curveInd int) (chart.Style, chart.Style)

GetSerieStyles returns curve and single point styles

func (*PlotTheme) GetThresholdStyle

func (theme *PlotTheme) GetThresholdStyle(thresholdType string) chart.Style

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

Jump to

Keyboard shortcuts

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