Documentation ¶
Index ¶
- Variables
- func GetAvailableMaps() []string
- type AeraChart
- func (ac *AeraChart) RenderSVG(w io.Writer) error
- func (ac *AeraChart) SetBezier(isBezier bool) *AeraChart
- func (ac *AeraChart) SetColorDcheme(colorScheme *ColorScheme) *AeraChart
- func (ac *AeraChart) SetHorizontalLines(horizontalLines int) *AeraChart
- func (ac *AeraChart) SetInteractive(interactive bool) *AeraChart
- func (ac *AeraChart) SetNumberFormat(numberFormat string) *AeraChart
- func (ac *AeraChart) SetShowMarkers(showMarkers bool) *AeraChart
- func (ac *AeraChart) SetShowValue(showValues bool) *AeraChart
- func (ac *AeraChart) SetXaxisLegend(xaxisLegend string) *AeraChart
- func (ac *AeraChart) SetYaxisLegend(yaxisLegend string) *AeraChart
- type BarChart
- func (bc *BarChart) RenderSVG(w io.Writer) error
- func (bc *BarChart) SetColorDcheme(colorScheme *ColorScheme) *BarChart
- func (bc *BarChart) SetHorizontalLines(horizontalLines int) *BarChart
- func (bc *BarChart) SetInteractive(interactive bool) *BarChart
- func (bc *BarChart) SetNumberFormat(numberFormat string) *BarChart
- func (bc *BarChart) SetShowValue(showValues bool) *BarChart
- func (bc *BarChart) SetShowZero(showZero bool) *BarChart
- func (bc *BarChart) SetXaxisLegend(xaxisLegend string) *BarChart
- func (bc *BarChart) SetYaxisLegend(yaxisLegend string) *BarChart
- type BezierPoint
- type ColorPalette
- type ColorScheme
- type Dimension
- type GeoMap
- type HeatMap
- func (hm *HeatMap) RenderSVG(w io.Writer) error
- func (hm *HeatMap) SetColorDcheme(colorScheme *ColorScheme) *HeatMap
- func (hm *HeatMap) SetInteractive(interactive bool) *HeatMap
- func (hm *HeatMap) SetNumberFormat(numberFormat string) *HeatMap
- func (hm *HeatMap) SetShowValue(showValues bool) *HeatMap
- func (hm *HeatMap) SetXaxisLegend(xaxisLegend string) *HeatMap
- func (hm *HeatMap) SetYaxisLegend(yaxisLegend string) *HeatMap
- type LineChart
- func (l *LineChart) RenderSVG(w io.Writer) error
- func (l *LineChart) SetBezier(isBezier bool) *LineChart
- func (l *LineChart) SetColorDcheme(colorScheme *ColorScheme) *LineChart
- func (l *LineChart) SetHorizontalLines(horizontalLines int) *LineChart
- func (l *LineChart) SetInteractive(interactive bool) *LineChart
- func (l *LineChart) SetNumberFormat(numberFormat string) *LineChart
- func (l *LineChart) SetShowMarkers(showMarkers bool) *LineChart
- func (l *LineChart) SetShowValue(showValues bool) *LineChart
- func (l *LineChart) SetXaxisLegend(xaxisLegend string) *LineChart
- func (l *LineChart) SetYaxisLegend(yaxisLegend string) *LineChart
- type Node
- type PieChart
- func (pc *PieChart) RenderSVG(w io.Writer) error
- func (pc *PieChart) SetColorDcheme(colorScheme *ColorScheme) *PieChart
- func (pc *PieChart) SetInteractive(interactive bool) *PieChart
- func (pc *PieChart) SetNumberFormat(numberFormat string) *PieChart
- func (pc *PieChart) SetShowValue(showValues bool) *PieChart
- type TreemapChart
- func (tm *TreemapChart) RenderSVG(w io.Writer) error
- func (tm *TreemapChart) SetColorDcheme(colorScheme *ColorScheme) *TreemapChart
- func (tm *TreemapChart) SetInteractive(interactive bool) *TreemapChart
- func (tm *TreemapChart) SetNumberFormat(numberFormat string) *TreemapChart
- func (tm *TreemapChart) SetShowValue(showValues bool) *TreemapChart
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultColorScheme = ColorScheme{
Foreground: "#000",
Background: "#fff",
LightAxisColor: "#eee",
DarkerAxisColor: "#777",
ColorPalette: defaultColorPalette,
}
Functions ¶
func GetAvailableMaps ¶
func GetAvailableMaps() []string
Types ¶
type AeraChart ¶
type AeraChart struct { Dimension // contains filtered or unexported fields }
func NewAreaChart ¶
func (*AeraChart) SetColorDcheme ¶
func (ac *AeraChart) SetColorDcheme(colorScheme *ColorScheme) *AeraChart
func (*AeraChart) SetHorizontalLines ¶
func (*AeraChart) SetInteractive ¶
func (*AeraChart) SetNumberFormat ¶
func (*AeraChart) SetShowMarkers ¶
func (*AeraChart) SetShowValue ¶
func (*AeraChart) SetXaxisLegend ¶
func (*AeraChart) SetYaxisLegend ¶
type BarChart ¶
type BarChart struct { Dimension // contains filtered or unexported fields }
func NewBarChart ¶
func (*BarChart) SetColorDcheme ¶
func (bc *BarChart) SetColorDcheme(colorScheme *ColorScheme) *BarChart
func (*BarChart) SetHorizontalLines ¶
func (*BarChart) SetInteractive ¶
func (*BarChart) SetNumberFormat ¶
func (*BarChart) SetShowValue ¶
func (*BarChart) SetShowZero ¶
func (*BarChart) SetXaxisLegend ¶
func (*BarChart) SetYaxisLegend ¶
type BezierPoint ¶
type BezierPoint struct {
// contains filtered or unexported fields
}
type ColorPalette ¶
type ColorScheme ¶
type ColorScheme struct { Foreground string Background string LightAxisColor string DarkerAxisColor string ColorPalette ColorPalette }
type GeoMap ¶
type GeoMap struct { Dimension // contains filtered or unexported fields }
func (*GeoMap) SetColorDcheme ¶
func (gm *GeoMap) SetColorDcheme(colorScheme *ColorScheme) *GeoMap
func (*GeoMap) SetInteractive ¶
func (*GeoMap) SetNumberFormat ¶
func (*GeoMap) SetShowValue ¶
type HeatMap ¶
type HeatMap struct { Dimension // contains filtered or unexported fields }
func NewHeatMap ¶
func (*HeatMap) SetColorDcheme ¶
func (hm *HeatMap) SetColorDcheme(colorScheme *ColorScheme) *HeatMap
func (*HeatMap) SetInteractive ¶
func (*HeatMap) SetNumberFormat ¶
func (*HeatMap) SetShowValue ¶
func (*HeatMap) SetXaxisLegend ¶
func (*HeatMap) SetYaxisLegend ¶
type LineChart ¶
type LineChart struct { Dimension // contains filtered or unexported fields }
func NewLineChart ¶
func (*LineChart) SetColorDcheme ¶
func (l *LineChart) SetColorDcheme(colorScheme *ColorScheme) *LineChart
func (*LineChart) SetHorizontalLines ¶
func (*LineChart) SetInteractive ¶
func (*LineChart) SetNumberFormat ¶
func (*LineChart) SetShowMarkers ¶
func (*LineChart) SetShowValue ¶
func (*LineChart) SetXaxisLegend ¶
func (*LineChart) SetYaxisLegend ¶
type PieChart ¶
type PieChart struct { Dimension // contains filtered or unexported fields }
func NewPieChart ¶
func (*PieChart) SetColorDcheme ¶
func (pc *PieChart) SetColorDcheme(colorScheme *ColorScheme) *PieChart
func (*PieChart) SetInteractive ¶
func (*PieChart) SetNumberFormat ¶
func (*PieChart) SetShowValue ¶
type TreemapChart ¶
type TreemapChart struct { Dimension // contains filtered or unexported fields }
func NewTreemapChart ¶
func NewTreemapChart( width int, height int, series []string, data []float64, ) *TreemapChart
func (*TreemapChart) SetColorDcheme ¶
func (tm *TreemapChart) SetColorDcheme(colorScheme *ColorScheme) *TreemapChart
func (*TreemapChart) SetInteractive ¶
func (tm *TreemapChart) SetInteractive(interactive bool) *TreemapChart
func (*TreemapChart) SetNumberFormat ¶
func (tm *TreemapChart) SetNumberFormat(numberFormat string) *TreemapChart
func (*TreemapChart) SetShowValue ¶
func (tm *TreemapChart) SetShowValue(showValues bool) *TreemapChart
Click to show internal directories.
Click to hide internal directories.