func (c *Gauge) Add(name string, data map[string]interface{}, options ...SeriesOptser) *Gauge {
	nvs := make([]datatypes.NameValueItem, 0)
	for k, v := range data {
		nvs = append(nvs, datatypes.NameValueItem{Name: k, Value: v})
	}
	series := singleSeries{Name: name, Type: ChartType.Gauge, Data: nvs}
	series.setSingleSeriesOpts(options...)
	c.Series = append(c.Series, series)
	return c
}
// Add adds new data sets.
Add adds new data sets.
// Add adds new data sets .
func (c *Gauge) Add(name string, data map[string]interface{}, options ...SeriesOptser) *Gauge {
	nvs := make([]datatypes.NameValueItem, 0)
	for k, v := range data {
		nvs = append(nvs, datatypes.NameValueItem{Name: k, Value: v})
	}
	series := singleSeries{Name: name, Type: ChartType.Gauge, Data: nvs}
	series.setSingleSeriesOpts(options...)
	c.Series = append(c.Series, series)
	return c
}
func ( c * Gauge ) Add ( name string , data map [ string ] interface { } , options ... SeriesOptser ) * Gauge { nvs := make ( [ ] datatypes . NameValueItem , 0 ) for k , v := range data { nvs = append ( nvs , datatypes . NameValueItem { Name : k , Value : v } ) } series := singleSeries { Name : name , Type : ChartType . Gauge , Data : nvs } series . setSingleSeriesOpts ( options ... ) c . Series = append ( c . Series , series ) return c }
Add adds new data sets.
Add adds new data sets .