Dashboard Definition
The dashboard definition is responsible for defining the structure and IA of a dashboard:
- a title and a description
- zero or many filters
- zero or many sections
- zero or many visualisations within a section
contents
Definition
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The dashboard ID |
name |
string | yes | The dashboard title |
description |
string | yes | The dashboard desciption |
section |
array | yes | The dashboard sections. See Section |
Section
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The section ID |
display |
string | yes | The section title |
description |
string | yes | The section desciption |
visualisation |
array | yes | The visualisation definitions. See Visualisation Definition |
Example
{
id: 'dashboard-definition-example',
name: 'Dashboard Defintion Example',
description:
'A dashboard is made up of multiple sections. Each section can have a title, description, and multiple visualisation types',
section: [
{
id: 'section-1',
display: 'Section 1',
description: 'Section 1 description',
visualisation: [...],
},
{
id: 'section-2',
display: 'Section 2',
description: 'Section 1 description',
visualisation: [...],
},
{
id: 'section-3',
display: 'Dataset',
description: 'Underlying data set',
visualisation: [...],
},
],
}