Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMarkdownChart ¶
ParseMarkdownChart parses a chart specification from markdown text format and returns an SVG representation of the chart.
Types ¶
type ChartDefinition ¶ added in v0.3.0
type ChartDefinition struct {
ChartType string
Title string
Width int
Height int
Colors []string
Data []float64
Labels []string
AutoHeight bool
Series []SeriesDefinition
SeriesColors []string
Stacked bool
LegendWidth float64
Palette string // "auto" or "gradient"
SupportNegative bool
NegativeColors []string
}
ChartDefinition represents a parsed chart definition
type SeriesDefinition ¶ added in v0.8.0
SeriesDefinition represents a data series in a chart
Click to show internal directories.
Click to hide internal directories.