diff options
author | Ebus-at-dockstar <ebus@dockstar> | 2013-04-30 17:50:25 +0200 |
---|---|---|
committer | Ebus-at-dockstar <ebus@dockstar> | 2013-04-30 17:50:52 +0200 |
commit | a3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2 (patch) | |
tree | 61e49ad91c7472a5836bd51224e7d1195eb16a28 /datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js | |
parent | 5e002f200691d5fd9c46ff645668b82e17c2261b (diff) | |
download | ebus-alt-a3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2.tar.gz ebus-alt-a3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2.zip |
wwwroot_ebus
Diffstat (limited to 'datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js')
-rw-r--r-- | datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js new file mode 100644 index 0000000..d8b79df --- /dev/null +++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js @@ -0,0 +1 @@ +(function(B){var A={series:{threshold:null}};function C(D){function E(L,S,M){if(!S.threshold){return }var F=M.pointsize,I,O,N,G,K,H=B.extend({},S);H.datapoints={points:[],pointsize:F};H.label=null;H.color=S.threshold.color;H.threshold=null;H.originSeries=S;H.data=[];var P=S.threshold.below,Q=M.points,R=S.lines.show;threspoints=[];newpoints=[];for(I=0;I<Q.length;I+=F){O=Q[I];N=Q[I+1];K=G;if(N<P){G=threspoints}else{G=newpoints}if(R&&K!=G&&O!=null&&I>0&&Q[I-F]!=null){var J=(O-Q[I-F])/(N-Q[I-F+1])*(P-N)+O;K.push(J);K.push(P);for(m=2;m<F;++m){K.push(Q[I+m])}G.push(null);G.push(null);for(m=2;m<F;++m){G.push(Q[I+m])}G.push(J);G.push(P);for(m=2;m<F;++m){G.push(Q[I+m])}}G.push(O);G.push(N)}M.points=newpoints;H.datapoints.points=threspoints;if(H.datapoints.points.length>0){L.getData().push(H)}}D.hooks.processDatapoints.push(E)}B.plot.plugins.push({init:C,options:A,name:"threshold",version:"1.0"})})(jQuery);
\ No newline at end of file |