Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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