Sha256: 2f4099dcd85a839f64c32aa624fee6f2b3557d5c1d3243c73bce7e7c5fe95b34

Contents?: true

Size: 1.12 KB

Versions: 43

Compression:

Stored size: 1.12 KB

Contents

(function(B){var A={series:{stack:null}};function C(F){function D(J,I){var H=null;for(var G=0;G<I.length;++G){if(J==I[G]){break}if(I[G].stack==J.stack){H=I[G]}}return H}function E(W,P,G){if(P.stack==null){return }var L=D(P,W.getData());if(!L){return }var T=G.pointsize,Y=G.points,H=L.datapoints.pointsize,S=L.datapoints.points,N=[],R,Q,I,a,Z,M,O=P.lines.show,K=P.bars.show,J=O&&P.lines.steps,X=0,V=0,U;while(true){if(X>=Y.length){break}U=N.length;if(V>=S.length||S[V]==null||Y[X]==null){for(m=0;m<T;++m){N.push(Y[X+m])}X+=T}else{R=Y[X];Q=Y[X+1];a=S[V];Z=S[V+1];M=0;if(R==a){for(m=0;m<T;++m){N.push(Y[X+m])}N[U+1]+=Z;M=Z;X+=T;V+=H}else{if(R>a){if(O&&X>0&&Y[X-T]!=null){I=Q+(Y[X-T+1]-Q)*(a-R)/(Y[X-T]-R);N.push(a);N.push(I+Z);for(m=2;m<T;++m){N.push(Y[X+m])}M=Z}V+=H}else{for(m=0;m<T;++m){N.push(Y[X+m])}if(O&&V>0&&S[V-T]!=null){M=Z+(S[V-T+1]-Z)*(R-a)/(S[V-T]-a)}N[U+1]+=M;X+=T}}if(U!=N.length&&K){N[U+2]+=M}}if(J&&U!=N.length&&U>0&&N[U]!=null&&N[U]!=N[U-T]&&N[U+1]!=N[U-T+1]){for(m=0;m<T;++m){N[U+T+m]=N[U+m]}N[U+1]=N[U-T+1]}}G.points=N}F.hooks.processDatapoints.push(E)}B.plot.plugins.push({init:C,options:A,name:"stack",version:"1.0"})})(jQuery);

Version data entries

43 entries across 43 versions & 6 rubygems

Version Path
heart-0.0.2 app/assets/javascripts/heart/flot/jquery.flot.stack.min.js
heart-0.0.1 app/assets/javascripts/heart/flot/jquery.flot.stack.min.js
heart-0.0.1.pre app/assets/javascripts/heart/flot/jquery.flot.stack.min.js
omf_web-0.9 share/htdocs/vendor/flot/jquery.flot.stack.min.js
reportbuilder-1.4.2 data/flot/jquery.flot.stack.min.js
rutema_web-1.0.6 lib/rutema_web/public/js/jquery.flot.stack.min.js
how_are_we_doing-0.0.9 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
logstash-lite-0.2.20110505142231 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
logstash-lite-0.2.20110422152244 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
logstash-lite-0.2.20110405105201 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
rutema_web-1.0.5 lib/rutema_web/public/js/jquery.flot.stack.min.js
logstash-lite-0.2.20110331121236 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
logstash-lite-0.2.20110329105411 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
how_are_we_doing-0.0.8 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
how_are_we_doing-0.0.7 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
how_are_we_doing-0.0.6 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
how_are_we_doing-0.0.5 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
how_are_we_doing-0.0.4 lib/generators/how_are_we_doing/install/templates/public/javascripts/flot/jquery.flot.stack.min.js
logstash-lite-0.2.20110206003603 lib/logstash/web/public/js/flot/jquery.flot.stack.min.js
reportbuilder-1.4.1 data/flot/jquery.flot.stack.min.js