SET sets the value of a dimension for the initialized chart.
(id string, value int64)
| 85 | |
| 86 | // SET sets the value of a dimension for the initialized chart. |
| 87 | func (a *API) SET(id string, value int64) { |
| 88 | _, _ = a.Write([]byte("SET '" + id + "' = " + strconv.FormatInt(value, 10) + "\n")) |
| 89 | } |
| 90 | |
| 91 | // SETFLOAT sets the value of a dimension for the initialized chart. |
| 92 | func (a *API) SETFLOAT(id string, value float64) { |