Skip to content

Instantly share code, notes, and snippets.

@Moonbird-IT
Last active August 25, 2020 16:12
Show Gist options
  • Save Moonbird-IT/f0221babe5886fb5bb6b81c0b9e4a989 to your computer and use it in GitHub Desktop.
Save Moonbird-IT/f0221babe5886fb5bb6b81c0b9e4a989 to your computer and use it in GitHub Desktop.
JSON sample for multiple Highcharts charts
{
"datasets": [
{
"name": "Product Track 1",
"data": [
[1462381981000, 50],
[1462411981000, 80],
[1462473601000, 100],
[1462478701000, 40],
[1462569181000, 60]
],
"unit": "ml/s",
"type": "line",
"valueDecimals": 1
},
{
"name": "H202 Pressure",
"data": [
[1462381981000, 0],
[1462544401000, 40],
[1462554401000, null],
[1462567181000, 60],
[1462569181000, 70]
],
"unit": "mbar",
"type": "area",
"valueDecimals": 0
},
{
"name": "Air flow",
"data": [
[1462381981000, 100],
[1462386001000, 90],
[1462459201000, 80],
[1462532701000, 90],
[1462541581000, 50],
[1462558701000, 70],
[1462569181000, 80]
],
"unit": "ml",
"type": "area",
"valueDecimals": 0
},
{
"name": "Valve error Track 1",
"data": [
[1462381981000, 1],
[1462386001000, 0],
[1462459201000, 1],
[1462472701000, 0],
[1462491581000, 1],
[1462569181000, 0]
],
"unit": "",
"type": "line",
"step": "left",
"steps": 1,
"max": 1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment