Update a chart
Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.
Authorizations
API key authentication using Bearer token format: Bearer <basedash_api_key>
Body
ID of the dashboard to move the chart to
ID of the dashboard tab to move the chart to
Position and size of the chart on the dashboard grid
Name of the chart
1Description of the chart
Type of the chart
TABLE SQL query powering the chart
SQL query used for chart drill-downs
ID of the data source the SQL query runs against
Result column used for the x-axis
Result column used to break down the x-axis into segments
Result column used for the y-axis
Static content for DASHBOARD_HEADER and DASHBOARD_TEXT chart types
Response
Chart updated successfully