Zou er iemand mij van kunnen om van de volgende json output een highcharts kan maken?
Heb nl wat rond gezocht maar ik ben ik geraak er niet uit.
Deze jsdfildle is een voorbeeld, maar ik had graag de juist patroon om output onderaan te integeren in highcharts
Alvast bedankt!!
[code=php]
{
"meta": {
"start": "1420744500",
"step": "300",
"end": "1420744500",
"rows": "288",
"columns": "1",
"legend": {
"col1": "Total"
},
"stacked_columns": {
"col1": 0
},
"title_cache": "'Synology - Temperature - \/dev\/sdb'",
"vertical_label": "''",
"local_graph_id": "23",
"host_id": "1"
},
"data": {
"1": {
"timestamp": "1420744500",
"col1": "3.5000000000e+01"
},
"2": {
"timestamp": "1420744800",
"col1": "3.5000000000e+01"
},
"3": {
"timestamp": "1420745100",
"col1": "3.5993333333e+01"
},
"4": {
"timestamp": "1420745400",
"col1": "3.6000000000e+01"
},
"5": {
"timestamp": "1420745700",
"col1": "3.6000000000e+01"
}
}
}
[/code=php]
Heb nl wat rond gezocht maar ik ben ik geraak er niet uit.
Deze jsdfildle is een voorbeeld, maar ik had graag de juist patroon om output onderaan te integeren in highcharts
Alvast bedankt!!
[code=php]
{
"meta": {
"start": "1420744500",
"step": "300",
"end": "1420744500",
"rows": "288",
"columns": "1",
"legend": {
"col1": "Total"
},
"stacked_columns": {
"col1": 0
},
"title_cache": "'Synology - Temperature - \/dev\/sdb'",
"vertical_label": "''",
"local_graph_id": "23",
"host_id": "1"
},
"data": {
"1": {
"timestamp": "1420744500",
"col1": "3.5000000000e+01"
},
"2": {
"timestamp": "1420744800",
"col1": "3.5000000000e+01"
},
"3": {
"timestamp": "1420745100",
"col1": "3.5993333333e+01"
},
"4": {
"timestamp": "1420745400",
"col1": "3.6000000000e+01"
},
"5": {
"timestamp": "1420745700",
"col1": "3.6000000000e+01"
}
}
}
[/code=php]