The configuration file is separated into three sections:
database
The database
object is of the form:
{
"id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // the id of the database you wish to use
}
The id
parameter is required and is the uuid of the database you wish to use
chart
The chart
object matches the configuration format for Apache E-charts v5.
You can find a reference below:
Documentation - Apache ECharts
data_query
The data_query
object is of the form:
{
"id": "id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" // the id of the code block containing your SQL query
}
The id
parameter is required and is the uuid of the database you wish to use