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
code
pfabric
Commits
e03b9293
Commit
e03b9293
authored
Mar 14, 2019
by
Kalinga Bhusan Ray
Browse files
refine graph
parent
cfaa241b
Changes
2
Hide whitespace changes
Inline
Side-by-side
chart/script.js
View file @
e03b9293
...
...
@@ -33,6 +33,12 @@ if (6 == gmin.length && 6 == gmax.length && 6 == ravg.length)
label
:
"
Running Avg
"
,
borderColor
:
"
#3cba9f
"
,
fill
:
false
},
{
data
:
element
,
label
:
"
current val
"
,
borderColor
:
"
#3cdb9f
"
,
fill
:
false
}
]
}
...
...
@@ -88,10 +94,14 @@ function processRequest() {
if
(
6
==
ravg
.
length
){
ravg
.
shift
();
}
if
(
6
==
element
.
length
){
ravg
.
shift
();
}
gmin
.
push
(
data
.
gmin
);
gmax
.
push
(
data
.
gmax
);
ravg
.
push
(
data
.
ravg
);
element
.
push
(
data
.
element
);
drawChart
();
}
...
...
src/qop/FilterByStats.hpp
View file @
e03b9293
...
...
@@ -187,6 +187,7 @@ private:
//std::cout << " new ravg: " << mRAvg;
mPropTree
.
put
(
"ravg"
,
mRAvg
);
mPropTree
.
put
(
"val"
,
element
);
mOutStats
.
push_back
(
mRAvg
);
}
...
...
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