SETFLOAT sets the value of a dimension for the initialized chart.
(id string, value float64)
| 90 | |
| 91 | // SETFLOAT sets the value of a dimension for the initialized chart. |
| 92 | func (a *API) SETFLOAT(id string, value float64) { |
| 93 | v := strconv.FormatFloat(value, 'f', -1, 64) |
| 94 | _, _ = a.Write([]byte("SET '" + id + "' = " + v + "\n")) |
| 95 | } |
| 96 | |
| 97 | // SETEMPTY sets an empty value for a dimension in the initialized chart. |
| 98 | func (a *API) SETEMPTY(id string) { |