Beter Graphs #2

This commit is contained in:
JonatanRek 2019-09-26 16:19:58 +02:00
parent 776a9e2d38
commit 3b94dcec9b
1 changed files with 4 additions and 8 deletions

View File

@ -103,10 +103,10 @@ $JSON = '{
"display": false "display": false
}, },
"scales": { "scales": {
xAxes: [{ "xAxes": [{
type: "time", "type": "time",
time: { "time": {
unit: "hour" "unit": "hour"
} }
}], }],
"yAxes": [{ "yAxes": [{
@ -115,10 +115,6 @@ $JSON = '{
"max": ' . $range['max'] . ', "max": ' . $range['max'] . ',
"steps": ' . $range['scale'] . ' "steps": ' . $range['scale'] . '
} }
}],
xAxes: [{
type: "time",
distribution: "linear"
}] }]
}, },
"tooltips": { "tooltips": {