summaryrefslogtreecommitdiff
path: root/ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js
diff options
context:
space:
mode:
authorRandom Hacker <random_hacker@xapek.org>2013-02-24 16:44:17 +0100
committerRandom Hacker <random_hacker@xapek.org>2013-02-24 16:44:17 +0100
commit37e334d24a099e5367597ee18ac0c6d5ae2fba32 (patch)
tree057a2ad096b44e8bda448d35ebd2a7f835673f05 /ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js
parent946eb7d95fc04d465802c8fc00e5d4130a52c8f2 (diff)
downloadebus-alt-37e334d24a099e5367597ee18ac0c6d5ae2fba32.tar.gz
ebus-alt-37e334d24a099e5367597ee18ac0c6d5ae2fba32.zip
hdf support
Diffstat (limited to 'ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js')
-rw-r--r--ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js b/ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js
new file mode 100644
index 0000000..47f3dfb
--- /dev/null
+++ b/ebus/webhdf/static/lib/flot-0.7/jquery.flot.fillbetween.min.js
@@ -0,0 +1 @@
+(function(b){var a={series:{fillBetween:null}};function c(f){function d(j,h){var g;for(g=0;g<h.length;++g){if(h[g].id==j.fillBetween){return h[g]}}if(typeof j.fillBetween=="number"){g=j.fillBetween;if(g<0||g>=h.length){return null}return h[g]}return null}function e(B,u,g){if(u.fillBetween==null){return}var p=d(u,B.getData());if(!p){return}var y=g.pointsize,E=g.points,h=p.datapoints.pointsize,x=p.datapoints.points,r=[],w,v,k,G,F,q,t=u.lines.show,o=y>2&&g.format[2].y,n=t&&u.lines.steps,D=true,C=0,A=0,z;while(true){if(C>=E.length){break}z=r.length;if(E[C]==null){for(m=0;m<y;++m){r.push(E[C+m])}C+=y}else{if(A>=x.length){if(!t){for(m=0;m<y;++m){r.push(E[C+m])}}C+=y}else{if(x[A]==null){for(m=0;m<y;++m){r.push(null)}D=true;A+=h}else{w=E[C];v=E[C+1];G=x[A];F=x[A+1];q=0;if(w==G){for(m=0;m<y;++m){r.push(E[C+m])}q=F;C+=y;A+=h}else{if(w>G){if(t&&C>0&&E[C-y]!=null){k=v+(E[C-y+1]-v)*(G-w)/(E[C-y]-w);r.push(G);r.push(k);for(m=2;m<y;++m){r.push(E[C+m])}q=F}A+=h}else{if(D&&t){C+=y;continue}for(m=0;m<y;++m){r.push(E[C+m])}if(t&&A>0&&x[A-h]!=null){q=F+(x[A-h+1]-F)*(w-G)/(x[A-h]-G)}C+=y}}D=false;if(z!=r.length&&o){r[z+2]=q}}}}if(n&&z!=r.length&&z>0&&r[z]!=null&&r[z]!=r[z-y]&&r[z+1]!=r[z-y+1]){for(m=0;m<y;++m){r[z+y+m]=r[z+m]}r[z+1]=r[z-y+1]}}g.points=r}f.hooks.processDatapoints.push(e)}b.plot.plugins.push({init:c,options:a,name:"fillbetween",version:"1.0"})})(jQuery); \ No newline at end of file