Versions in this module Expand all Collapse all v1 v1.0.1 Dec 25, 2019 Changes in this version + type Bar func(title string, o ...func(request *BarRequest)) func(w http.ResponseWriter, r *http.Request) + func (b *Bar) WithDataDataSets(label string, data []interface{}) func(request *BarRequest) + func (b *Bar) WithDataLabels(value []interface{}) func(request *BarRequest) + func (b *Bar) WithOptions(key string, value interface{}) func(request *BarRequest) + func (b *Bar) WithTitle(title string) func(request *BarRequest) + func (b *Bar) WithXLabel(xLabel string) func(request *BarRequest) + func (b *Bar) WithYLabel(yLabel string) func(request *BarRequest) + type BarRequest struct + func (bar BarRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request) + type Charts struct + Bar Bar + Line Line + Pie Pie + Radar Radar + StackedBar StackedBar + XY XY + func NewCharts(t Transport) *Charts + type ChartsInterface interface + Plot func(t Transport) func(w http.ResponseWriter, r *http.Request) + Render func(t Transport) func(w http.ResponseWriter, r *http.Request) + Save func(string, Transport) bool + type Line func(title string, o ...func(request *LineRequest)) func(w http.ResponseWriter, r *http.Request) + func (L *Line) WithDataDataSets(label string, data []interface{}) func(request *LineRequest) + func (L *Line) WithDataLabels(value []interface{}) func(request *LineRequest) + func (L *Line) WithOptions(key string, value interface{}) func(request *LineRequest) + func (L *Line) WithTitle(title string) func(request *LineRequest) + func (L *Line) WithXLabel(xLabel string) func(request *LineRequest) + func (L *Line) WithYLabel(yLabel string) func(request *LineRequest) + type LineRequest struct + func (L LineRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request) + func (L LineRequest) Render(t Transport) func(w http.ResponseWriter, r *http.Request) + func (L LineRequest) Save(name string, transport Transport) bool + type Pie func(title string, o ...func(request *PieRequest)) func(w http.ResponseWriter, r *http.Request) + func (p *Pie) WithDataDataSets(label string, data []interface{}) func(request *PieRequest) + func (p *Pie) WithDataLabels(value []interface{}) func(request *PieRequest) + func (p *Pie) WithOptions(key string, value interface{}) func(request *PieRequest) + func (p *Pie) WithTitle(title string) func(request *PieRequest) + func (p *Pie) WithXLabel(xLabel string) func(request *PieRequest) + func (p *Pie) WithYLabel(yLabel string) func(request *PieRequest) + type PieRequest struct + func (bar PieRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request) + type Radar func(title string, o ...func(request *RadarRequest)) func(w http.ResponseWriter, r *http.Request) + func (r *Radar) WithDataDataSets(label string, data []interface{}) func(request *RadarRequest) + func (r *Radar) WithDataLabels(value []interface{}) func(request *RadarRequest) + func (r *Radar) WithOptions(key string, value interface{}) func(request *RadarRequest) + func (r *Radar) WithTitle(title string) func(request *RadarRequest) + func (r *Radar) WithXLabel(xLabel string) func(request *RadarRequest) + func (r *Radar) WithYLabel(yLabel string) func(request *RadarRequest) + type RadarRequest struct + func (radar RadarRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request) + type StackedBar func(title string, o ...func(request *StackedBarRequest)) func(w http.ResponseWriter, r *http.Request) + func (s *StackedBar) WithDataDataSets(label string, data []interface{}) func(request *StackedBarRequest) + func (s *StackedBar) WithDataLabels(value []interface{}) func(request *StackedBarRequest) + func (s *StackedBar) WithOptions(key string, value interface{}) func(request *StackedBarRequest) + func (s *StackedBar) WithTitle(title string) func(request *StackedBarRequest) + func (s *StackedBar) WithXLabel(xLabel string) func(request *StackedBarRequest) + func (s *StackedBar) WithYLabel(yLabel string) func(request *StackedBarRequest) + type StackedBarRequest struct + func (sta StackedBarRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request) + type Transport interface + Execute func(w http.ResponseWriter, r *http.Request, v interface{}) + Read func(name string) ([]byte, error) + type WithData struct + DataSets []WithDataDataSets + Labels []interface{} + type WithDataCollection struct + Data WithData + type WithDataDataSets struct + Data []interface{} + Label string + type WithOption struct + Options map[string]interface{} + func (W WithOption) Del(key string) + func (W WithOption) Get(key string) interface{} + func (W WithOption) Set(key string, value interface{}) + type WithTitle struct + Title string + type WithXLabel struct + XLabel string + type WithYLabel struct + YLabel string + type XY func(title string, o ...func(request *XYRequest)) func(w http.ResponseWriter, r *http.Request) + func (XY *XY) WithDataDataSets(label string, data []interface{}) func(request *XYRequest) + func (XY *XY) WithDataLabels(value []interface{}) func(request *XYRequest) + func (XY XY) WithOptions(key string, value interface{}) func(request *XYRequest) + func (XY XY) WithTitle(title string) func(request *XYRequest) + func (XY XY) WithXLabel(xLabel string) func(request *XYRequest) + func (XY XY) WithYLabel(yLabel string) func(request *XYRequest) + type XYRequest struct + func (XY XYRequest) Plot(t Transport) func(w http.ResponseWriter, r *http.Request)