Creating a chart is a multi-step process since a chart depends on a few items to work.
Using Quick-create routes
- Create a
Connectionto authenticate with your data source - /team/:team_id/connection - Create a
Datasetwith quick-create to fetch and format the data from the data soucer - /team/:team_id/datasets/quick-create - Create a
Chartwith quick-create to create the chart with all its chart dataset configs in one go - /project/:project_id/chart/quick-create
Using individual routes
- Create a
Connectionto authenticate with your data source - /team/:team_id/connection - Create a
Datasetthat we will use to format the data from the data source - /team/:team_id/dataset - Create a
DataRequestto fetch the data from the data source. We need to connect this to the dataset we created before using thedataset_idfield - /team/:team_id/dataset/:dataset_id/dataRequest - Create a
Dashboardwhere we will place the chart - /project - Create a
Chartand connect it to the dashboard we created before using theproject_idfield - /project/:project_id/chart - Create a
ChartDatasetConfigand connect it to the relevant dataset and chart through thedataset_idandchart_idfields - /project/:project_id/chart/:chart_id/chart-dataset-config