OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thresholded
(Results
1 - 2
of
2
) sorted by null
/external/chromium-trace/catapult/third_party/flot/
jquery.flot.threshold.js
53
thresholded
= $.extend({}, s); // note: shallow copy
55
thresholded
.datapoints = { points: [], pointsize: ps, format: datapoints.format };
56
thresholded
.label = null;
57
thresholded
.color = color;
58
thresholded
.threshold = null;
59
thresholded
.originSeries = s;
60
thresholded
.data = [];
104
thresholded
.datapoints.points = threspoints;
106
if (
thresholded
.datapoints.points.length > 0) {
109
plot.getData().splice(origIndex + 1, 0,
thresholded
);
[
all
...]
jquery.flot.threshold.min.js
7
(function($){var options={series:{threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=datapoints.pointsize,i,x,y,p,prevp,
thresholded
=$.extend({},s);
thresholded
.datapoints={points:[],pointsize:ps,format:datapoints.format};
thresholded
.label=null;
thresholded
.color=color;
thresholded
.threshold=null;
thresholded
.originSeries=s;
thresholded
.data=[];var origpoints=datapoints.points,addCrossingPoints=s.lines.show;var threspoints=[];var newpoints=[];var m;for(i=0;i<origpoints.length;i+=ps){x=origpoints[i];y=origpoints[i+1];prevp=p;if(y<below)p=threspoints;else p=newpoints;if(addCrossingPoints&&prevp!=p&&x!=null&&i>0&&origpoints[i-ps]!=null){var interx=x+(below-y)*(x-origpoints[i-ps])/(y-origpoints[i-ps+1]);prevp.push(interx);prevp.push(below);for(m=2;m<ps;++m)prevp.push(origpoints[i+m]);p.push(null);p.push(null);for(m=2;m<ps;++m)p.push(origpoints[i+m]);p.push(interx);p.push(below);for(m=2;m<ps;++m)p.push(origpoints[i+m])}p.push(x);p.push(y);for(m=2;m<ps;++m)p.push(origpoints[i+m])}datapoints.points=newpoints;
thresholded
.datapoints.points=threspoints;if(
thresholded
.datapoints.points.length>0){var origIndex=$.inArray(s,plot.getData());plot.getData().splice(origIndex+1,0,
thresholded
)}}function processThresholds(plot,s,datapoints){if(!s.threshold)return;if(s.threshold instanceof A (…)
[
all
...]
Completed in 76 milliseconds