Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Field Science
datavis
Commits
04ca34b7
Commit
04ca34b7
authored
Feb 16, 2020
by
Porter Libby
Browse files
fix data to show sensortype
parent
42b050dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/graph.js
View file @
04ca34b7
...
...
@@ -62,7 +62,7 @@ function createGraphReading(dataset, q_arr, color){
for
(
x
=
0
;
x
<
dataset
.
length
;
x
++
){
var
textElem
=
document
.
createElement
(
'
p
'
);
textElem
.
innerHTML
=
dataset
[
x
].
sensor
id
+
"
:
"
+
dataset
[
x
].
value
;
textElem
.
innerHTML
=
dataset
[
x
].
sensor
type
+
"
:
"
+
dataset
[
x
].
value
;
parent
.
append
(
textElem
);
}
...
...
Write
Preview
Markdown
is supported
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