Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartConfig ¶
type HtmlPlotter ¶
type HtmlPlotter struct {
// contains filtered or unexported fields
}
HtmlPlotter implements plots.HtmlPlotter interface, and plots multiple SVG plots to a single HTML file.
func NewHtmlPlotter ¶
func NewHtmlPlotter(cfg PlotConfig) *HtmlPlotter
NewHtmlPlotter crates a new plotter instance.
func (*HtmlPlotter) AddChart ¶
func (p *HtmlPlotter) AddChart(c plots.Chart)
AddChart adds another SVG chart to HTML plot
type PlotConfig ¶
type PlotConfig struct { // How many charts per row to display Cols int }
type SvgChart ¶
type SvgChart struct {
// contains filtered or unexported fields
}
SvgChart is a plots.LineChart implementation, which exclusively prints SVG charts.
func NewClassicChart ¶
func NewClassicChart(name string, cfg ChartConfig) *SvgChart
NewClassicChart creates a preconfigured chart, which provides a classic view with enabled grid, axis names, legend, padding, etc.
Click to show internal directories.
Click to hide internal directories.