Skip to content

Instantly share code, notes, and snippets.

@james-gibson
Created October 10, 2013 22:17
Show Gist options
  • Save james-gibson/6926494 to your computer and use it in GitHub Desktop.
Save james-gibson/6926494 to your computer and use it in GitHub Desktop.
Describing chart data for a bar or line series chart
{
"data": [
{
"series": {
"seriesID": "current",
"values": [
{
"value": 90,
"info": "October Usage was 90mbtu"
},
{
"value": null,
"info": "November Usage is unavailable"
},
{
"value": null,
"info": "December Usage is unavailable"
},
{
"value": 89,
"info": "January Usage was 89mbtu"
}
]
}
},
{
"series": {
"seriesID": "prior",
"values": [
{
"value": 55,
"info": "October Usage was 55mbtu"
},
{
"value": 75,
"info": "November Usage was 75mbtu"
},
{
"value": 88,
"info": "December Usage was 88mbtu"
},
{
"value": 78,
"info": "January Usage was 78mbtu"
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment