set_cell_mode
Switch a SQL cell between run (table) and draw (chart) modes. Draw mode auto-executes queries and supports multiple series for overlaid charts.
Instructions
Switch a SQL cell between run (table output) and draw (chart output). Draw cells auto-execute — do not call run_cell afterwards. MULTI-SERIES TIP: a draw-mode cell can hold multiple SELECT statements separated by ;. The first query's timestamp column is the chart's x-axis (the 'anchor'); every additional query contributes its numeric columns as extra series merged on the time axis. Use this to overlay metrics that come from different tables or different aggregations on a single chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| cell_id | Yes | ||
| buffer_id | Yes |