Skip to content

Instantly share code, notes, and snippets.

@Lahannin
Last active February 22, 2022 18:35
Show Gist options
  • Save Lahannin/1e4d0ff599b5870757106a7869dee362 to your computer and use it in GitHub Desktop.
Save Lahannin/1e4d0ff599b5870757106a7869dee362 to your computer and use it in GitHub Desktop.
{
"data": {
"attributes": {
"title": "Sales Dashboard",
"description": "A dashboard that provides a visual representation of total sales",
"content": {
"filterContextRef": {
"identifier": {
"id": "date_filter",
"type": "filterContext"
}
},
"layout": {
"type": "IDashboardLayout",
"sections": [
{
"type": "IDashboardLayoutSection",
"items": [
{
"type": "IDashboardLayoutItem",
"size": {
"xl": {
"gridWidth": 12
}
},
"widget": {
"type": "insight",
"title": "Total Sales by Year",
"description": "",
"ignoreDashboardFilters": [],
"dateDataSet": {
"identifier": {
"id": "date",
"type": "dataset"
}
},
"insight": {
"identifier": {
"id": "total_sales_by_year",
"type": "visualizationObject"
}
},
"drills": [],
"properties": {}
}
}
]
}
]
},
"version": "2"
}
},
"id": "sales_dashboard",
"type": "analyticalDashboard"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment