Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
948d734a
Commit
948d734a
authored
Apr 29, 2020
by
Vladislav Rykov
Browse files
line chart data direction fixed
parent
099a2c56
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/app/templates/public/dev-data-t.html
View file @
948d734a
...
@@ -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
%
}
]);
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment