Commit 948d734a authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

line chart data direction fixed

parent 099a2c56
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
function drawChart_{{ k }} () { function drawChart_{{ k }} () {
var data_{{ k }} = google.visualization.arrayToDataTable([ var data_{{ k }} = google.visualization.arrayToDataTable([
['Time', '{{ k }}'], ['Time', '{{ k }}'],
{% for d in data %} {% for d in data|reverse %}
['{{ d[1] }}', {{ d[2][k] }}], ['{{ d[1] }}', {{ d[2][k] }}],
{% endfor %} {% endfor %}
]); ]);
......
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