Commit ed30c99e authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

dev data datetime x-axis display fixed

parent 948d734a
......@@ -111,7 +111,7 @@
var data_{{ k }} = google.visualization.arrayToDataTable([
['Time', '{{ k }}'],
{% for d in data|reverse %}
['{{ d[1] }}', {{ d[2][k] }}],
[new Date({{ d[0] }}*1000), {{ d[2][k] }}],
{% endfor %}
]);
......@@ -119,7 +119,7 @@
title: '{{ devname}} > {{ k }}',
curveType: 'function',
hAxis: {
format: 'dd/MM/yy hh:mm:ss'
format: 'dd/MM/yy hh:mm:ss',
},
vAxis: {
format: 'decimal',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment