Commit e03b9293 authored by Kalinga Bhusan Ray's avatar Kalinga Bhusan Ray
Browse files

refine graph

parent cfaa241b
......@@ -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();
}
......
......@@ -187,6 +187,7 @@ private:
//std::cout << " new ravg: " << mRAvg;
mPropTree.put("ravg", mRAvg);
mPropTree.put("val", element);
mOutStats.push_back(mRAvg);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment