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
ed30c99e
Commit
ed30c99e
authored
Apr 29, 2020
by
Vladislav Rykov
Browse files
dev data datetime x-axis display fixed
parent
948d734a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/app/templates/public/dev-data-t.html
View file @
ed30c99e
...
...
@@ -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
'
,
...
...
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