Append rows
append_rowsAdd rows to the end of the visual's data and drop the oldest past keepLast; the visual's settings are unchanged. Adds rows to a line, area, bar, bar-horizontal, scatter, table or map visual; its settings (xKey, series, columns) are unchanged, and numeric strings are coerced as on push. On a map the rows merge by region: a row whose code matches an existing one replaces it, the others are added, and keepLast is ignored. A kpi, gauge, pie, funnel or markdown visual has no row list: replace its document with PUT /v1/visuals/{id}/data instead. Over HTTP keepLast may also go in the query string (?keepLast=7), and the body may be text/csv: the header row is the keys the visual's rows have. Needs an API key: with none yet, call signup first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"visualId": "<visualId>",
"rows": "<rows>"
},
"name": "append_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Added after the rows the visual holds, in order. | |
| keepLast | No | Keep only the newest keepLast rows after the append, dropping the oldest. The type's cap applies in any case: line 500, area 500, bar 500, bar-horizontal 500, scatter 500, table 200, map 4000 rows. | |
| visualId | Yes | The visual's id. |