Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example dashboard JSON for the Dashbored app for Apple TV.
{
"title": "Our chicken farm",
"theme": {
"dashboardBackgroundColor": "green",
"dashboardBackgroundImage": "https://www.bestwallpaperhd.com/wp-content/uploads/2015/06/Little-Chickens.jpg",
"dashboardTitleColor": "#ffffff",
"headerColor": "#666",
"textColor": "#121212",
"backgroundColor": "#ffffff",
"borderRadius": 10,
"borderWidth": 0,
"borderColor": "rgba(0, 0, 0, 0.2)",
"borderStyle": "solid",
"shadowColor": "#000",
"shadowOpacity": 0.4,
"shadowRadius": 20
},
"sections": [
{
"title": "Number of chicken raised",
"type": "stat",
"value": 48
},
{
"title": "Eggs laid",
"type": "stat",
"value": 249
},
{
"title": "Percentage eggs collected",
"type": "stat",
"value": "93.4%"
},
{
"title": "Something else",
"type": "stat",
"value": "Test"
},
{
"title": "Last born chick",
"type": "image",
"value": "https://s3-eu-west-1.amazonaws.com/tsfil/leghorn-baby-chick-dora-march14-rddWm/leghorn-baby-chick-dora-march14.jpg"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.