Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
template.js.flot.jquery.flot.errorbars.min.js Maven / Gradle / Ivy
(function(a){var i={series:{points:{errorbars:null,xerr:{err:"x",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null},yerr:{err:"y",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null}}}};function f(n,j,k,m){if(!j.points.errorbars){return}var l=[{x:true,number:true,required:true},{y:true,number:true,required:true}];var o=j.points.errorbars;if(o=="x"||o=="xy"){if(j.points.xerr.asymmetric){l.push({x:true,number:true,required:true});l.push({x:true,number:true,required:true})}else{l.push({x:true,number:true,required:true})}}if(o=="y"||o=="xy"){if(j.points.yerr.asymmetric){l.push({y:true,number:true,required:true});l.push({y:true,number:true,required:true})}else{l.push({y:true,number:true,required:true})}}m.format=l}function h(n,o){var t=n.datapoints.points;var p=null,k=null,l=null,s=null;var j=n.points.xerr,r=n.points.yerr;var q=n.points.errorbars;if(q=="x"||q=="xy"){if(j.asymmetric){p=t[o+2];k=t[o+3];if(q=="xy"){if(r.asymmetric){l=t[o+4];s=t[o+5]}else{l=t[o+4]}}}else{p=t[o+2];if(q=="xy"){if(r.asymmetric){l=t[o+3];s=t[o+4]}else{l=t[o+3]}}}}else{if(q=="y"){if(r.asymmetric){l=t[o+2];s=t[o+3]}else{l=t[o+2]}}}if(k==null){k=p}if(s==null){s=l}var m=[p,k,l,s];if(!j.show){m[0]=null;m[1]=null}if(!r.show){m[2]=null;m[3]=null}return m}function d(A,z,t){var D=t.datapoints.points,v=t.datapoints.pointsize,r=[t.xaxis,t.yaxis],k=t.points.radius,m=[t.points.xerr,t.points.yerr];var E=false;if(r[0].p2c(r[0].max)r[1].max||or[0].max){continue}}if(m[H].err=="y"){if(p>r[0].max||pr[1].max){continue}}var J=true,j=true;if(G>n[1]){J=false;G=n[1]}if(K0&&u>0){var q=u/2;z.lineWidth=q;z.strokeStyle="rgba(0,0,0,0.1)";b(z,m[H],p,o,G,K,J,j,k,q+q/2,n);z.strokeStyle="rgba(0,0,0,0.2)";b(z,m[H],p,o,G,K,J,j,k,q/2,n)}z.strokeStyle=m[H].color?m[H].color:t.color;z.lineWidth=l;b(z,m[H],p,o,G,K,J,j,k,0,n)}}}}function b(t,l,r,q,s,n,p,j,o,m,k){q+=m;s+=m;n+=m;if(l.err=="x"){if(s>r+o){c(t,[[s,q],[Math.max(r+o,k[0]),q]])}else{p=false}if(nq+o){c(t,[[r,Math.max(q+o,k[1])],[r,n]])}else{j=false}}o=l.radius!=null?l.radius:o;if(p){if(l.upperCap=="-"){if(l.err=="x"){c(t,[[s,q-o],[s,q+o]])}else{c(t,[[r-o,s],[r+o,s]])}}else{if(a.isFunction(l.upperCap)){if(l.err=="x"){l.upperCap(t,s,q,o)}else{l.upperCap(t,r,s,o)}}}}if(j){if(l.lowerCap=="-"){if(l.err=="x"){c(t,[[n,q-o],[n,q+o]])}else{c(t,[[r-o,n],[r+o,n]])}}else{if(a.isFunction(l.lowerCap)){if(l.err=="x"){l.lowerCap(t,n,q,o)}else{l.lowerCap(t,r,n,o)}}}}}function c(j,l){j.beginPath();j.moveTo(l[0][0],l[0][1]);for(var k=1;k