Create a chart
Creates a new chart on a dashboard. The chart is placed on the specified tab (or the first tab by default) at the bottom of the tab unless a layout is provided. Requires admin access to the organization.
Authorizations
API key authentication using Bearer token format: Bearer <basedash_api_key>
Path Parameters
Organization ID
Body
ID of the dashboard to place the chart on
1ID of the dashboard tab to place the chart on. Defaults to the first tab.
Position and size of the chart on the dashboard grid. Defaults to the bottom of the tab.
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 created successfully