Dashboards: add chart
dashboards_add_chartAdd a saved chart to a dashboard as a new widget without replacing existing widgets; specify position, size, or let it append below.
Instructions
Add a chart to a dashboard as a new widget. Everything else on the dashboard stays as it was. This is how a saved chart gets onto a dashboard. The widget takes the chart's name as its title unless title is given, and goes after the existing widgets unless column, row, width or height place it on the 12-column grid. Create the chart first with charts_create; avoid dashboards_update for this, as it replaces every widget. Returns JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | Top edge, in grid rows from 0 (defaults to below the existing widgets) | |
| title | No | Widget title (defaults to the chart's name) | |
| width | No | Width in grid columns (default 4) | |
| column | No | Left edge, in grid columns from 0 (the grid is 12 columns wide) | |
| height | No | Height in grid rows (default 3) | |
| chart_id | Yes | Chart ID. Find it with charts_list. | |
| dashboard_id | Yes | Dashboard ID. Find it with dashboards_list. |