Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9fa9dffb
authored
May 31, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix raw data parsing with sparse element selection
parent
8f19a114
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/services/data/load_stream_data.rb
app/services/data/load_stream_data.rb
View file @
9fa9dffb
...
@@ -183,7 +183,7 @@ class LoadStreamData
...
@@ -183,7 +183,7 @@ class LoadStreamData
end
end
ts
=
row
[
0
]
ts
=
row
[
0
]
elements
.
each_with_index
do
|
elem
,
i
|
elements
.
each_with_index
do
|
elem
,
i
|
data
[
i
][
:values
].
push
([
ts
,
__scale_value
(
row
[
1
+
i
],
elem
)])
data
[
i
][
:values
].
push
([
ts
,
__scale_value
(
row
[
1
+
elem
.
column
],
elem
)])
end
end
end
end
data
data
...
...
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