CLABEL adds or updates a label to the most recently created chart.
(key, value string, source int)
| 63 | |
| 64 | // CLABEL adds or updates a label to the most recently created chart. |
| 65 | func (a *API) CLABEL(key, value string, source int) { |
| 66 | _, _ = a.Write([]byte("CLABEL '" + |
| 67 | key + quotes + |
| 68 | value + quotes + |
| 69 | strconv.Itoa(source) + "'\n")) |
| 70 | } |
| 71 | |
| 72 | // CLABELCOMMIT adds labels to the chart. Should be called after one or more CLABEL. |
| 73 | func (a *API) CLABELCOMMIT() { |