Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { Data ChartData `json:"data"` Options ChartOptions `json:"options"` // contains filtered or unexported fields }
func (*Chart) AddDatum ¶
func (c *Chart) AddDatum(d ChartDatum)
type ChartData ¶
type ChartData struct { Labels []string `json:"labels"` DataSets []ChartDatum `json:"datasets"` }
type ChartDatum ¶
type ChartOptions ¶
type ChartOptions struct { Responsive bool `json:"responsive"` MaintainAspectRatio bool `json:"maintainAspectRatio"` Title ChartTitle `json:"title"` }
type ChartTitle ¶
type EmptyColor ¶ added in v0.1.1
type EmptyColor struct{}
Click to show internal directories.
Click to hide internal directories.