diff --git a/.ci/jenkins/selenium/run_tests.sh b/.ci/jenkins/selenium/run_tests.sh index a19fec86dc36..1faafffcd07d 100644 --- a/.ci/jenkins/selenium/run_tests.sh +++ b/.ci/jenkins/selenium/run_tests.sh @@ -17,12 +17,18 @@ fi mkdir -p "$GALAXY_TEST_ERRORS_DIRECTORY" mkdir -p "$GALAXY_TEST_SCREENSHOTS_DIRECTORY" -# /etc/passwd hack needed as long as make client requires git. -# https://github.com/galaxyproject/galaxy/issues/5912 -docker run -v /etc/passwd:/etc/passwd -v `pwd`:`pwd`:rw -w `pwd` -u $UID $GALAXY_TEST_CLIENT_BUILD_IMAGE /bin/bash -c 'make client-production-maps' +mkdir -p ~/.jenkins-yarn-cache +YARN_CACHE_FOLDER=~/.jenkins-yarn-cache + +# Set git environment variables to enable Git. https://github.com/galaxyproject/galaxy/issues/5912 +# Setup volume and environment variable to cache this users yarn build. +docker run -e GIT_COMMITTER_NAME=Jenkins -e GIT_COMMITTER_EMAIL=jenkins@galaxyproject.org \ + -e YARN_CACHE_FOLDER=$YARN_CACHE_FOLDER -v $YARN_CACHE_FOLDER:$YARN_CACHE_FOLDER:rw \ + -v `pwd`:`pwd`:rw -w `pwd` -u $UID $GALAXY_TEST_CLIENT_BUILD_IMAGE \ + /bin/bash -c 'make client-production-maps' # Start Selenium server in the test Docker container. -DOCKER_RUN_EXTRA_ARGS="-e USE_SELENIUM=1 -e GALAXY_TEST_SELENIUM_RETRIES=${GALAXY_TEST_SELENIUM_RETRIES} -e GALAXY_TEST_ERRORS_DIRECTORY=${GALAXY_TEST_ERRORS_DIRECTORY} -e GALAXY_TEST_SCREENSHOTS_DIRECTORY=${GALAXY_TEST_SCREENSHOTS_DIRECTORY} ${DOCKER_RUN_EXTRA_ARGS}" +DOCKER_RUN_EXTRA_ARGS="-v $YARN_CACHE_FOLDER:$YARN_CACHE_FOLDER -e YARN_CACHE_FOLDER=$YARN_CACHE_FOLDER -e USE_SELENIUM=1 -e GALAXY_TEST_SELENIUM_RETRIES=${GALAXY_TEST_SELENIUM_RETRIES} -e GALAXY_TEST_ERRORS_DIRECTORY=${GALAXY_TEST_ERRORS_DIRECTORY} -e GALAXY_TEST_SCREENSHOTS_DIRECTORY=${GALAXY_TEST_SCREENSHOTS_DIRECTORY} ${DOCKER_RUN_EXTRA_ARGS}" export DOCKER_RUN_EXTRA_ARGS ./run_tests.sh --dockerize --db postgres --external_tmp --clean_pyc --skip_flakey_fails --selenium "$@" diff --git a/client/galaxy/scripts/components/RuleCollectionBuilder.vue b/client/galaxy/scripts/components/RuleCollectionBuilder.vue index 83b39dc3ab96..05e0b78588da 100644 --- a/client/galaxy/scripts/components/RuleCollectionBuilder.vue +++ b/client/galaxy/scripts/components/RuleCollectionBuilder.vue @@ -202,11 +202,11 @@ :multiple="mappingTargets()[map.type].multiple" :ordered="true" :value-as-list="true"> - +
=i.length)return t;var r=[],o=u[e++];return t.forEach(function(t,i){r.push({key:t,values:n(i,e)})}),o?r.sort(function(n,t){return o(n.key,t.key)}):r}(o(n.map,t,0),0)},r.key=function(n){return i.push(n),r},r.sortKeys=function(n){return u[i.length-1]=n,r},r.sortValues=function(n){return t=n,r},r.rollup=function(n){return e=n,r},r},n.set=function(n){var t=new C;if(n)for(var e=0,r=n.length;e 360?n-=360:n<0&&(n+=360),n<60?r+(i-r)*n/60:n<180?i:n<240?r+(i-r)*(240-n)/60:r}(n))}return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:t<0?0:t>1?1:t,r=2*(e=e<0?0:e>1?1:e)-(i=e<=.5?e*(1+t):e+t-e*t),new ut(u(n+120),u(n),u(n-120))}function Vn(t,e,r){return this instanceof Vn?(this.h=+t,this.c=+e,void(this.l=+r)):arguments.length<2?t instanceof Vn?new Vn(t.h,t.c,t.l):tt(t instanceof Bn?t.l:(t=ht((t=n.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new Vn(t,e,r)}Yn.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new In(this.h,this.s,this.l/n)},Yn.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new In(this.h,this.s,n*this.l)},Yn.rgb=function(){return Zn(this.h,this.s,this.l)},n.hcl=Vn;var Xn=Vn.prototype=new On;function $n(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new Bn(e,Math.cos(n*=Cn)*t,Math.sin(n)*t)}function Bn(n,t,e){return this instanceof Bn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof Bn?new Bn(n.l,n.a,n.b):n instanceof Vn?$n(n.h,n.c,n.l):ht((n=ut(n)).r,n.g,n.b):new Bn(n,t,e)}Xn.brighter=function(n){return new Vn(this.h,this.c,Math.min(100,this.l+Wn*(arguments.length?n:1)))},Xn.darker=function(n){return new Vn(this.h,this.c,Math.max(0,this.l-Wn*(arguments.length?n:1)))},Xn.rgb=function(){return $n(this.h,this.c,this.l).rgb()},n.lab=Bn;var Wn=18,Jn=.95047,Gn=1,Kn=1.08883,Qn=Bn.prototype=new On;function nt(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return new ut(it(3.2404542*(i=et(i)*Jn)-1.5371385*(r=et(r)*Gn)-.4985314*(u=et(u)*Kn)),it(-.969266*i+1.8760108*r+.041556*u),it(.0556434*i-.2040259*r+1.0572252*u))}function tt(n,t,e){return n>0?new Vn(Math.atan2(e,t)*zn,Math.sqrt(t*t+e*e),n):new Vn(NaN,NaN,n)}function et(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function rt(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function it(n){return Math.round(255*(n<=.00304?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function ut(n,t,e){return this instanceof ut?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof ut?new ut(n.r,n.g,n.b):ft(""+n,ut,Zn):new ut(n,t,e)}function ot(n){return new ut(n>>16,n>>8&255,255&n)}function at(n){return ot(n)+""}Qn.brighter=function(n){return new Bn(Math.min(100,this.l+Wn*(arguments.length?n:1)),this.a,this.b)},Qn.darker=function(n){return new Bn(Math.max(0,this.l-Wn*(arguments.length?n:1)),this.a,this.b)},Qn.rgb=function(){return nt(this.l,this.a,this.b)},n.rgb=ut;var lt=ut.prototype=new On;function ct(n){return n<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function ft(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(gt(i[0]),gt(i[1]),gt(i[2]))}return(u=vt.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o|=o>>4,a=240&u,a|=a>>4,l=15&u,l|=l<<4):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function st(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=l<.5?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(t =s[0]&&l<=s[1]&&((a=c[n.bisect(h,l,1,g)-1]).y+=v,a.push(u[o]));return c}return u.value=function(n){return arguments.length?(e=n,u):e},u.range=function(n){return arguments.length?(r=dt(n),u):r},u.bins=function(n){return arguments.length?(i="number"==typeof n?function(t){return Ou(t,n)}:dt(n),u):i},u.frequency=function(n){return arguments.length?(t=!!n,u):t},u},n.layout.pack=function(){var t,e=n.layout.hierarchy().sort(Yu),r=0,i=[1,1];function u(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,Su(a,function(n){n.r=+f(n.value)}),Su(a,$u),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;Su(a,function(n){n.r+=s}),Su(a,$u),Su(a,function(n){n.r-=s})}return function n(t,e,r,i){var u=t.children;t.x=e+=i*t.x;t.y=r+=i*t.y;t.r*=i;if(u)for(var o=-1,a=u.length;++op.x&&(p=n),n.depth>g.depth&&(g=n)});var v=e(h,p)/2-h.x,d=r[0]/(p.x+e(p,h)/2+v),y=r[1]/(g.depth||1);wu(f,function(n){n.x=(n.x+v)*d,n.y=n.depth*y})}return c}function o(n){var t=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(t.length){!function(n){var t,e=0,r=0,i=n.children,u=i.length;for(;--u>=0;)(t=i[u]).z+=e,t.m+=e,e+=t.s+(r+=t.c)}(n);var u=(t[0].z+t[t.length-1].z)/2;i?(n.z=i.z+e(n._,i._),n.m=n.z-u):n.z=u}else i&&(n.z=i.z+e(n._,i._));n.parent.A=function(n,t,r){if(t){for(var i,u=n,o=n,a=t,l=u.parent.children[0],c=u.m,f=o.m,s=a.m,h=l.m;a=Qu(a),u=Ku(u),a&&u;)l=Ku(l),(o=Qu(o)).a=n,(i=a.z+s-u.z-c+e(a._,u._))>0&&(no(to(a,n,r),n,i),c+=i,f+=i),s+=a.m,c+=u.m,h+=l.m,f+=o.m;a&&!Qu(o)&&(o.t=a,o.m+=s-f),u&&!Ku(l)&&(l.t=u,l.m+=c-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function l(n){n.x*=r[0],n.y=n.depth*r[1]}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n)?l:null,u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null==(r=n)?null:l,u):i?r:null},_u(u,t)},n.layout.cluster=function(){var t=n.layout.hierarchy().sort(null).value(null),e=Gu,r=[1,1],i=!1;function u(u,o){var a,l=t.call(this,u,o),c=l[0],f=0;Su(c,function(t){var r=t.children;r&&r.length?(t.x=function(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}(r),t.y=function(t){return 1+n.max(t,function(n){return n.y})}(r)):(t.x=a?f+=e(t,a):0,t.y=0,a=t)});var s=function n(t){var e=t.children;return e&&e.length?n(e[0]):t}(c),h=function n(t){var e,r=t.children;return r&&(e=r.length)?n(r[e-1]):t}(c),p=s.x-e(s,h)/2,g=h.x+e(h,s)/2;return Su(c,i?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-p)/(g-p)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),l}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n),u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null!=(r=n),u):i?r:null},_u(u,t)},n.layout.treemap=function(){var t,e=n.layout.hierarchy(),r=Math.round,i=[1,1],u=null,o=eo,a=!1,l="squarify",c=.5*(1+Math.sqrt(5));function f(n,t){for(var e,r,i=-1,u=n.length;++i0;)a.push(e=c[i-1]),a.area+=e.area,"squarify"!==l||(r=p(a,v))<=h?(c.pop(),h=r):(a.area-=a.pop().area,g(a,v,u,!1),v=Math.min(u.dx,u.dy),a.length=a.area=0,h=1/0);a.length&&(g(a,v,u,!0),a.length=a.area=0),t.forEach(s)}}function h(n){var t=n.children;if(t&&t.length){var e,r=o(n),i=t.slice(),u=[];for(f(i,r.dx*r.dy/n.value),u.area=0;e=i.pop();)u.push(e),u.area+=e.area,null!=e.z&&(g(u,e.z?r.dx:r.dy,r,!i.length),u.length=u.area=0);t.forEach(h)}}function p(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oi&&(i=e));return t*=t,(r*=r)?Math.max(t*i*c/r,r/(t*u*c)):1/0}function g(n,t,e,i){var u,o=-1,a=n.length,l=e.x,c=e.y,f=t?r(n.area/t):0;if(t==e.dx){for((i||f>e.dy)&&(f=e.dy);++oe.dx)&&(f=e.dx);++o1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=n.random.normal.apply(n,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=n.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(n){return function(){for(var t=0,e=0;e =i.length)return t;var r=[],o=u[e++];return t.forEach(function(t,i){r.push({key:t,values:n(i,e)})}),o?r.sort(function(n,t){return o(n.key,t.key)}):r}(o(n.map,t,0),0)},r.key=function(n){return i.push(n),r},r.sortKeys=function(n){return u[i.length-1]=n,r},r.sortValues=function(n){return t=n,r},r.rollup=function(n){return e=n,r},r},n.set=function(n){var t=new C;if(n)for(var e=0,r=n.length;e 360?n-=360:n<0&&(n+=360),n<60?r+(i-r)*n/60:n<180?i:n<240?r+(i-r)*(240-n)/60:r}(n))}return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:t<0?0:t>1?1:t,r=2*(e=e<0?0:e>1?1:e)-(i=e<=.5?e*(1+t):e+t-e*t),new ut(u(n+120),u(n),u(n-120))}function Vn(t,e,r){return this instanceof Vn?(this.h=+t,this.c=+e,void(this.l=+r)):arguments.length<2?t instanceof Vn?new Vn(t.h,t.c,t.l):tt(t instanceof Bn?t.l:(t=ht((t=n.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new Vn(t,e,r)}Yn.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new In(this.h,this.s,this.l/n)},Yn.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new In(this.h,this.s,n*this.l)},Yn.rgb=function(){return Zn(this.h,this.s,this.l)},n.hcl=Vn;var Xn=Vn.prototype=new On;function $n(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new Bn(e,Math.cos(n*=Cn)*t,Math.sin(n)*t)}function Bn(n,t,e){return this instanceof Bn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof Bn?new Bn(n.l,n.a,n.b):n instanceof Vn?$n(n.h,n.c,n.l):ht((n=ut(n)).r,n.g,n.b):new Bn(n,t,e)}Xn.brighter=function(n){return new Vn(this.h,this.c,Math.min(100,this.l+Wn*(arguments.length?n:1)))},Xn.darker=function(n){return new Vn(this.h,this.c,Math.max(0,this.l-Wn*(arguments.length?n:1)))},Xn.rgb=function(){return $n(this.h,this.c,this.l).rgb()},n.lab=Bn;var Wn=18,Jn=.95047,Gn=1,Kn=1.08883,Qn=Bn.prototype=new On;function nt(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return new ut(it(3.2404542*(i=et(i)*Jn)-1.5371385*(r=et(r)*Gn)-.4985314*(u=et(u)*Kn)),it(-.969266*i+1.8760108*r+.041556*u),it(.0556434*i-.2040259*r+1.0572252*u))}function tt(n,t,e){return n>0?new Vn(Math.atan2(e,t)*zn,Math.sqrt(t*t+e*e),n):new Vn(NaN,NaN,n)}function et(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function rt(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function it(n){return Math.round(255*(n<=.00304?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function ut(n,t,e){return this instanceof ut?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof ut?new ut(n.r,n.g,n.b):ft(""+n,ut,Zn):new ut(n,t,e)}function ot(n){return new ut(n>>16,n>>8&255,255&n)}function at(n){return ot(n)+""}Qn.brighter=function(n){return new Bn(Math.min(100,this.l+Wn*(arguments.length?n:1)),this.a,this.b)},Qn.darker=function(n){return new Bn(Math.max(0,this.l-Wn*(arguments.length?n:1)),this.a,this.b)},Qn.rgb=function(){return nt(this.l,this.a,this.b)},n.rgb=ut;var lt=ut.prototype=new On;function ct(n){return n<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function ft(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(gt(i[0]),gt(i[1]),gt(i[2]))}return(u=vt.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o|=o>>4,a=240&u,a|=a>>4,l=15&u,l|=l<<4):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function st(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=l<.5?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(t =s[0]&&l<=s[1]&&((a=c[n.bisect(h,l,1,g)-1]).y+=v,a.push(u[o]));return c}return u.value=function(n){return arguments.length?(e=n,u):e},u.range=function(n){return arguments.length?(r=dt(n),u):r},u.bins=function(n){return arguments.length?(i="number"==typeof n?function(t){return Ou(t,n)}:dt(n),u):i},u.frequency=function(n){return arguments.length?(t=!!n,u):t},u},n.layout.pack=function(){var t,e=n.layout.hierarchy().sort(Yu),r=0,i=[1,1];function u(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,Su(a,function(n){n.r=+f(n.value)}),Su(a,$u),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;Su(a,function(n){n.r+=s}),Su(a,$u),Su(a,function(n){n.r-=s})}return function n(t,e,r,i){var u=t.children;t.x=e+=i*t.x;t.y=r+=i*t.y;t.r*=i;if(u)for(var o=-1,a=u.length;++op.x&&(p=n),n.depth>g.depth&&(g=n)});var v=e(h,p)/2-h.x,d=r[0]/(p.x+e(p,h)/2+v),y=r[1]/(g.depth||1);wu(f,function(n){n.x=(n.x+v)*d,n.y=n.depth*y})}return c}function o(n){var t=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(t.length){!function(n){var t,e=0,r=0,i=n.children,u=i.length;for(;--u>=0;)(t=i[u]).z+=e,t.m+=e,e+=t.s+(r+=t.c)}(n);var u=(t[0].z+t[t.length-1].z)/2;i?(n.z=i.z+e(n._,i._),n.m=n.z-u):n.z=u}else i&&(n.z=i.z+e(n._,i._));n.parent.A=function(n,t,r){if(t){for(var i,u=n,o=n,a=t,l=u.parent.children[0],c=u.m,f=o.m,s=a.m,h=l.m;a=Qu(a),u=Ku(u),a&&u;)l=Ku(l),(o=Qu(o)).a=n,(i=a.z+s-u.z-c+e(a._,u._))>0&&(no(to(a,n,r),n,i),c+=i,f+=i),s+=a.m,c+=u.m,h+=l.m,f+=o.m;a&&!Qu(o)&&(o.t=a,o.m+=s-f),u&&!Ku(l)&&(l.t=u,l.m+=c-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function l(n){n.x*=r[0],n.y=n.depth*r[1]}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n)?l:null,u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null==(r=n)?null:l,u):i?r:null},_u(u,t)},n.layout.cluster=function(){var t=n.layout.hierarchy().sort(null).value(null),e=Gu,r=[1,1],i=!1;function u(u,o){var a,l=t.call(this,u,o),c=l[0],f=0;Su(c,function(t){var r=t.children;r&&r.length?(t.x=function(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}(r),t.y=function(t){return 1+n.max(t,function(n){return n.y})}(r)):(t.x=a?f+=e(t,a):0,t.y=0,a=t)});var s=function n(t){var e=t.children;return e&&e.length?n(e[0]):t}(c),h=function n(t){var e,r=t.children;return r&&(e=r.length)?n(r[e-1]):t}(c),p=s.x-e(s,h)/2,g=h.x+e(h,s)/2;return Su(c,i?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-p)/(g-p)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),l}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n),u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null!=(r=n),u):i?r:null},_u(u,t)},n.layout.treemap=function(){var t,e=n.layout.hierarchy(),r=Math.round,i=[1,1],u=null,o=eo,a=!1,l="squarify",c=.5*(1+Math.sqrt(5));function f(n,t){for(var e,r,i=-1,u=n.length;++i0;)a.push(e=c[i-1]),a.area+=e.area,"squarify"!==l||(r=p(a,v))<=h?(c.pop(),h=r):(a.area-=a.pop().area,g(a,v,u,!1),v=Math.min(u.dx,u.dy),a.length=a.area=0,h=1/0);a.length&&(g(a,v,u,!0),a.length=a.area=0),t.forEach(s)}}function h(n){var t=n.children;if(t&&t.length){var e,r=o(n),i=t.slice(),u=[];for(f(i,r.dx*r.dy/n.value),u.area=0;e=i.pop();)u.push(e),u.area+=e.area,null!=e.z&&(g(u,e.z?r.dx:r.dy,r,!i.length),u.length=u.area=0);t.forEach(h)}}function p(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oi&&(i=e));return t*=t,(r*=r)?Math.max(t*i*c/r,r/(t*u*c)):1/0}function g(n,t,e,i){var u,o=-1,a=n.length,l=e.x,c=e.y,f=t?r(n.area/t):0;if(t==e.dx){for((i||f>e.dy)&&(f=e.dy);++oe.dx)&&(f=e.dx);++o1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=n.random.normal.apply(n,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=n.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(n){return function(){for(var t=0,e=0;e =1)return+u(e[n-1],n-1,e);var n,f=(n-1)*t,l=Math.floor(f),o=+u(e[l],l,e);return o+(+u(e[l+1],l+1,e)-o)*(f-l)}};var e=require("./number"),r=t(e);function t(e){return e&&e.__esModule?e:{default:e}}
-},{"./number":328}],208:[function(require,module,exports) {
+},{"./number":336}],251:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(r,u,l){return r=e.map.call(r,a.default).sort(t.default),Math.ceil((l-u)/(2*((0,n.default)(r,.75)-(0,n.default)(r,.25))*Math.pow(r.length,-1/3)))};var e=require("../array"),r=require("../ascending"),t=i(r),u=require("../number"),a=i(u),l=require("../quantile"),n=i(l);function i(e){return e&&e.__esModule?e:{default:e}}
-},{"../array":326,"../ascending":67,"../number":328,"../quantile":79}],209:[function(require,module,exports) {
+},{"../array":333,"../ascending":66,"../number":336,"../quantile":80}],252:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e,r,u){return Math.ceil((u-r)/(3.5*(0,t.default)(e)*Math.pow(e.length,-1/3)))};var e=require("../deviation"),t=r(e);function r(e){return e&&e.__esModule?e:{default:e}}
-},{"../deviation":69}],73:[function(require,module,exports) {
+},{"../deviation":70}],73:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e,l){var r,u,f=e.length,n=-1;if(null==l){for(;++n1){y=p[0];var M=p[1],x=y[0]-M[0],b=y[1]-M[1];u=x*x+b*b}}function d(){var o,l,c,f,s=n.touches(e);oa.call(e);for(var h=0,p=s.length;h"===a?N+u+t:"^"===a?N.substring(0,k>>=1)+u+t+N.substring(k):u+(x?t:N+t))+r}}}(t),timeFormat:function(t){var e=t.dateTime,r=t.date,i=t.time,u=t.periods,o=t.days,a=t.shortDays,l=t.months,c=t.shortMonths;function f(n){var t=n.length;function e(e){for(var r,i,u,o=[],a=-1,l=0;++au&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:Hi(e,r)})),u=Yi.lastIndex;return u1&&i.push("H",r[0]);return i.join("")},"step-before":Fo,"step-after":Ho,basis:Yo,"basis-open":function(n){if(n.length<4)return Uo(n);var t,e=[],r=-1,i=n.length,u=[0],o=[0];for(;++r<3;)t=n[r],u.push(t[0]),o.push(t[1]);e.push(Zo($o,u)+","+Zo($o,o)),--r;for(;++r9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));a=-1;for(;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}(n))}});function Uo(n){return n.length>1?n.join("L"):n+"Z"}function jo(n){return n.join("L")+"Z"}function Fo(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1?{floor:function(t){for(;a(t=n.floor(t));)t=Aa(t-1);return t},ceil:function(t){for(;a(t=n.ceil(t));)t=Aa(+t+1);return t}}:n))},i.ticks=function(n,t){var e=io(i.domain()),r=null==n?u(e,10):"number"==typeof n?u(e,n):!n.range&&[{range:n},t];return r&&(n=r[0],t=r[1]),n.range(e[0],Aa(+e[1]+1),t<1?1:t)},i.tickFormat=function(){return r},i.copy=function(){return Ea(t.copy(),e,r)},so(i,t)}function Aa(n){return new Date(n)}wa.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Na:ka,Na.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},Na.toString=ka.toString,Tt.second=Ut(function(n){return new Rt(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),Tt.seconds=Tt.second.range,Tt.seconds.utc=Tt.second.utc.range,Tt.minute=Ut(function(n){return new Rt(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),Tt.minutes=Tt.minute.range,Tt.minutes.utc=Tt.minute.utc.range,Tt.hour=Ut(function(n){var t=n.getTimezoneOffset()/60;return new Rt(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),Tt.hours=Tt.hour.range,Tt.hours.utc=Tt.hour.utc.range,Tt.month=Ut(function(n){return(n=Tt.day(n)).setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),Tt.months=Tt.month.range,Tt.months.utc=Tt.month.utc.range;var Ca=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],za=[[Tt.second,1],[Tt.second,5],[Tt.second,15],[Tt.second,30],[Tt.minute,1],[Tt.minute,5],[Tt.minute,15],[Tt.minute,30],[Tt.hour,1],[Tt.hour,3],[Tt.hour,6],[Tt.hour,12],[Tt.day,1],[Tt.day,2],[Tt.week,1],[Tt.month,1],[Tt.month,3],[Tt.year,1]],La=wa.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",Xe]]),qa={range:function(t,e,r){return n.range(Math.ceil(t/r)*r,+e,r).map(Aa)},floor:z,ceil:z};za.year=Tt.year,Tt.scale=function(){return Ea(n.scale.linear(),za,La)};var Ta=za.map(function(n){return[n[0].utc,n[1]]}),Ra=Sa.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",Xe]]);function Da(n){return JSON.parse(n.responseText)}function Pa(n){var t=r.createRange();return t.selectNode(r.body),t.createContextualFragment(n.responseText)}Ta.year=Tt.year.utc,Tt.scale.utc=function(){return Ea(n.scale.linear(),Ta,Ra)},n.text=yt(function(n){return n.responseText}),n.json=function(n,t){return mt(n,"application/json",Da,t)},n.html=function(n,t){return mt(n,"text/html",Pa,t)},n.xml=yt(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=n,define(n)):"object"==typeof module&&module.exports?module.exports=n:this.d3=n}();
+parcelRequire=function(e,r,n){var t="function"==typeof parcelRequire&&parcelRequire,i="function"==typeof require&&require;function u(n,o){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!o&&f)return f(n,!0);if(t)return t(n,!0);if(i&&"string"==typeof n)return i(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}a.resolve=function(r){return e[n][1][r]||r};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,a,l,l.exports)}return r[n].exports;function a(e){return u(a.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=t;for(var o=0;o1){y=p[0];var M=p[1],x=y[0]-M[0],b=y[1]-M[1];u=x*x+b*b}}function d(){var o,l,c,f,s=n.touches(e);oa.call(e);for(var h=0,p=s.length;h"===a?N+u+t:"^"===a?N.substring(0,k>>=1)+u+t+N.substring(k):u+(x?t:N+t))+r}}}(t),timeFormat:function(t){var e=t.dateTime,r=t.date,i=t.time,u=t.periods,o=t.days,a=t.shortDays,l=t.months,c=t.shortMonths;function f(n){var t=n.length;function e(e){for(var r,i,u,o=[],a=-1,l=0;++au&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:Hi(e,r)})),u=Yi.lastIndex;return u1&&i.push("H",r[0]);return i.join("")},"step-before":Fo,"step-after":Ho,basis:Yo,"basis-open":function(n){if(n.length<4)return Uo(n);var t,e=[],r=-1,i=n.length,u=[0],o=[0];for(;++r<3;)t=n[r],u.push(t[0]),o.push(t[1]);e.push(Zo($o,u)+","+Zo($o,o)),--r;for(;++r9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));a=-1;for(;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}(n))}});function Uo(n){return n.length>1?n.join("L"):n+"Z"}function jo(n){return n.join("L")+"Z"}function Fo(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1?{floor:function(t){for(;a(t=n.floor(t));)t=Aa(t-1);return t},ceil:function(t){for(;a(t=n.ceil(t));)t=Aa(+t+1);return t}}:n))},i.ticks=function(n,t){var e=io(i.domain()),r=null==n?u(e,10):"number"==typeof n?u(e,n):!n.range&&[{range:n},t];return r&&(n=r[0],t=r[1]),n.range(e[0],Aa(+e[1]+1),t<1?1:t)},i.tickFormat=function(){return r},i.copy=function(){return Ea(t.copy(),e,r)},so(i,t)}function Aa(n){return new Date(n)}wa.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Na:ka,Na.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},Na.toString=ka.toString,Tt.second=Ut(function(n){return new Rt(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),Tt.seconds=Tt.second.range,Tt.seconds.utc=Tt.second.utc.range,Tt.minute=Ut(function(n){return new Rt(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),Tt.minutes=Tt.minute.range,Tt.minutes.utc=Tt.minute.utc.range,Tt.hour=Ut(function(n){var t=n.getTimezoneOffset()/60;return new Rt(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),Tt.hours=Tt.hour.range,Tt.hours.utc=Tt.hour.utc.range,Tt.month=Ut(function(n){return(n=Tt.day(n)).setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),Tt.months=Tt.month.range,Tt.months.utc=Tt.month.utc.range;var Ca=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],za=[[Tt.second,1],[Tt.second,5],[Tt.second,15],[Tt.second,30],[Tt.minute,1],[Tt.minute,5],[Tt.minute,15],[Tt.minute,30],[Tt.hour,1],[Tt.hour,3],[Tt.hour,6],[Tt.hour,12],[Tt.day,1],[Tt.day,2],[Tt.week,1],[Tt.month,1],[Tt.month,3],[Tt.year,1]],La=wa.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",Xe]]),qa={range:function(t,e,r){return n.range(Math.ceil(t/r)*r,+e,r).map(Aa)},floor:z,ceil:z};za.year=Tt.year,Tt.scale=function(){return Ea(n.scale.linear(),za,La)};var Ta=za.map(function(n){return[n[0].utc,n[1]]}),Ra=Sa.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",Xe]]);function Da(n){return JSON.parse(n.responseText)}function Pa(n){var t=r.createRange();return t.selectNode(r.body),t.createContextualFragment(n.responseText)}Ta.year=Tt.year.utc,Tt.scale.utc=function(){return Ea(n.scale.linear(),Ta,Ra)},n.text=yt(function(n){return n.responseText}),n.json=function(n,t){return mt(n,"application/json",Da,t)},n.html=function(n,t){return mt(n,"text/html",Pa,t)},n.xml=yt(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=n,define(n)):"object"==typeof module&&module.exports?module.exports=n:this.d3=n}();
},{}],3:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={seis:["#AA0000","#D00000","#F70000","#FF1D00","#FF4400","#FF6A00","#FF9000","#FFB700","#FFDD00","#FFFF00","#FFFF00","#FFFF00","#BDFF0C","#73FF1A","#3FFA36","#16F45A","#00D08B","#0087CD","#0048FA","#0024E3"].reverse(),sealand:["#8C66FF","#6A66FF","#6684FF","#66A7FF","#66CAFF","#66ECFF","#66FFF0","#66FFCE","#66FFAB","#66FF88","#66FF66","#88FF66","#ABFF66","#CEFF66","#FFEEA6","#FFD3A6","#FFB8A6","#FFAAB0","#FFB5CB","#FFC0E1"].reverse(),redgreen:["#005824","#1A693B","#347B53","#4F8D6B","#699F83","#83B09B","#9EC2B3","#B8D4CB","#D2E6E3","#EDF8FB","#FFFFFF","#F1EEF6","#E6D3E1","#DBB9CD","#D19EB9","#C684A4","#BB6990","#B14F7C","#A63467","#9B1A53","#91003F"],ocean:["#000000","#000209","#000413","#00061E","#000728","#000932","#002650","#00426E","#005E8C","#007AAA","#0096C8","#22A9C2","#45BCBB","#67CFB5","#8AE2AE","#ACF6A8","#BCF8B9","#CBF9CA","#DBFBDC","#EBFDED"].reverse(),cool:["#00FFFF","#0DF2FF","#19E6FF","#26D9FF","#33CCFF","#3FBFFF","#4CB3FF","#59A6FF","#6699FF","#738CFF","#7F7FFF","#8C73FF","#9966FF","#A659FF","#B24DFF","#BF3FFF","#CC33FF","#D926FF","#E619FF","#F20DFF"],copper:["#000000","#100906","#1F130D","#301E13","#40281A","#50321F","#603C26","#70462D","#805033","#905A3A","#A06440","#B06E46","#C0784D","#D08253","#E08C5A","#F09660","#FFA066","#FFAA6D","#FFB473","#FFBE7A"].reverse(),gray:["#000000","#0D0D0D","#191919","#262626","#333333","#3F3F3F","#4C4C4C","#595959","#666666","#737373","#7F7F7F","#8C8C8C","#999999","#A6A6A6","#B2B2B2","#BFBFBF","#CCCCCC","#D9D9D9","#E6E6E6","#F2F2F2"].reverse(),hot:["#000000","#220000","#440000","#660000","#880000","#AA0000","#CC0000","#EE0000","#FF1100","#FF3300","#FF5500","#FF7700","#FF9900","#FFBB00","#FFDD00","#FFFF00","#FFFF33","#FFFF66","#FFFF99","#FFFFCC"].reverse(),jet:["#00007F","#0000B2","#0000E5","#0019FF","#004DFF","#007FFF","#00B2FF","#00E5FF","#FFFFF2","#FFFFD9","#FFFFBF","#FFFFA5","#FFFF8C","#FFE500","#FFB300","#FF7F00","#FF4C00","#FF1900","#E50000","#B20000"],no_green:["#1F60FF","#1F60FF","#1F9FFF","#1FBFFF","#00CFFF","#2AFFFF","#2AFFFF","#55FFFF","#7FFFFF","#AAFFFF","#FFFF54","#FFFF54","#FFF000","#FFBF00","#FFA800","#FF8A00","#FF8A00","#FF7000","#FF4D00","#FF0000"],polar:["#0000FF","#1919FF","#3333FF","#4C4CFF","#6666FF","#7F7FFF","#9999FF","#B2B2FF","#CCCCFF","#E6E6FF","#FFFFFF","#FFE5E5","#FFCCCC","#FFB2B2","#FF9999","#FF7F7F","#FF6666","#FF4C4C","#FF3333","#FF1A1A"],red2green:["#FF0000","#FF1919","#FF3333","#FF4C4C","#FF6666","#FF7F7F","#FF9999","#FFB2B2","#FFCCCC","#FFE6E6","#FFFFFF","#E5FFE5","#CCFFCC","#B2FFB2","#99FF99","#7FFF7F","#66FF66","#4CFF4C","#33FF33","#1AFF1A"].reverse(),relief:["#000000","#000413","#000728","#002650","#005E8C","#0096C8","#45BCBB","#8AE2AE","#BCF8B9","#DBFBDC","#467832","#887438","#B19D48","#DBC758","#FAE769","#FAEB7E","#FCED93","#FCF1A7","#FCF6C1","#FDFAE0"].reverse(),split:["#7F7FFF","#6666E6","#4D4DCC","#3333B3","#1A1A99","#00007F","#000066","#00004D","#000033","#00001A","#000000","#1A0000","#330000","#4D0000","#660000","#7F0000","#991A1A","#B33333","#CC4D4D","#E66666"],wysiwyg:["#3F003F","#3F003F","#3F00BF","#003FFF","#00A0FF","#3FBFFF","#3FBFFF","#40E0FF","#3FFFBF","#3FFF3F","#7FFF3F","#BFFF3F","#BFFF3F","#FFE040","#FFE040","#FF6040","#FF1F40","#FF60C0","#FFA0FF","#FFA0FF"].reverse()};
},{}],1:[function(require,module,exports) {
-"use strict";var t=require("d3"),i=r(t),e=require("./colorsets"),s=a(e);function a(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e]);return i.default=t,i}var n=window.bundleEntries.chartUtilities.Series,o=window.bundleEntries.chartUtilities.Datasets,h=window.bundleEntries.chartUtilities.Jobs;window.d3=i;var l=Backbone.View.extend({optionsDefault:{margin:{top:40,right:70,bottom:70,left:70},style:{"font-weight":"normal","font-family":"Verdana","font-size":12},legend:{width:15,size:.9,style:{"font-weight":"normal","font-family":"Verdana","font-size":11},limit:7},background_color:"#FFFFFF",debug_color:"#FFFFFF"},initialize:function(t){var e=this;this.chart=t.chart,this.canvas_id=t.canvas_id,this.group=t.groups[0],this.data=t.groups[0].values,this.options=_.defaults(this.optionsDefault,t),this.color_set=s.default[this.chart.settings.get("color_set","seism")],this.categories=n.makeUniqueCategories([this.group]),this.xScale=i.scale.linear().domain([0,this.categories.array.x.length]),this.yScale=i.scale.linear().domain([0,this.categories.array.y.length]),this.zMin=i.min(this.data,function(t){return t.z}),this.zMax=i.max(this.data,function(t){return t.z}),this.zScale=i.scale.quantize().domain([this.zMin,this.zMax]).range(this.color_set),this.xAxis=i.svg.axis().scale(this.xScale).orient("bottom"),this.yAxis=i.svg.axis().scale(this.yScale).orient("left"),this._makeTickFormat("x"),this._makeTickFormat("y"),this.tooltip=i.select(".charts-viewport-container").append("div").attr("class","charts-tooltip").style(this.options.style).style("opacity",0),$(window).on("resize",function(){e.redraw()}),this.redraw(),n.addZoom({xAxis:this.xAxis,yAxis:this.yAxis,redraw:function(){e.redraw()},svg:i.select("#"+this.canvas_id)})},redraw:function(){var t=$("#"+this.canvas_id);t.empty();var e=this.xScale.domain(),s=this.yScale.domain(),a=Math.ceil(e[0]),r=Math.floor(e[1]),n=Math.ceil(s[0]),o=Math.floor(s[1]);this.xAxis.tickValues(i.range(a,r,1)),this.yAxis.tickValues(i.range(n,o,1));var h=this.options.margin;this.height=parseInt(t.height())-h.top-h.bottom,this.width=parseInt(t.width())-h.left-h.right,this.xScale.range([0,this.width]),this.yScale.range([this.height,0]),this.rowCount=s[1]-s[0],this.colCount=e[1]-e[0],this.boxWidth=Math.max(1,Math.floor(this.width/this.colCount)),this.boxHeight=Math.max(1,Math.floor(this.height/this.rowCount)),this.svg=i.select("#"+this.canvas_id).append("g").attr("class","heatmap").attr("transform","translate("+h.left+","+h.top+")"),this._buildBoxes(),this._buildX(),this._buildY(),"true"==this.chart.settings.get("show_legend")&&this._buildLegend()},_buildBoxes:function(){var t=this,e=this.height,s=this.width,a=this.svg,r=this.boxWidth,n=this.boxHeight;a.append("rect").attr("width",s).attr("height",e).attr("fill",this.options.background_color),a.append("clipPath").attr("id","clip").append("rect").attr("x",0).attr("y",0).attr("width",s).attr("height",e);var o=a.append("g").attr("clip-path","url(#clip)").selectAll("box-group").data(this.data,function(t,i){return t.x+"\0"+t.y});o.enter().append("g").attr("class","box-group").append("rect").attr("class","heat-box"),o.selectAll("rect").attr("rx",1).attr("ry",1).attr("fill",function(i){return t.zScale(i.z)}).attr("width",r).attr("height",n).attr("transform",function(i){return"translate("+t.xScale(i.x)+","+t.yScale(i.y+1)+")"}),o.selectAll("rect").on("dblclick",function(e){var s=t.chart.settings.get("url_template").trim();if(s){i.event.stopPropagation();var a=t.categories.array.x[e.x],r=t.categories.array.y[e.y];window.open(s.replace("__LABEL__",a)),window.open(s.replace("__LABEL__",r))}}).on("mouseover",function(i){var e=this.getScreenCTM().translate(+this.getAttribute("cx"),+this.getAttribute("cy"));t.tooltip.style("opacity",.9),t.tooltip.html(t._templateTooltip(i)).style("left",window.pageXOffset+e.e+15+"px").style("top",window.pageYOffset+e.f-30+"px")}).on("mouseout",function(i){t.tooltip.style("opacity",0)}),this.tooltip.style("opacity",0),o.exit().remove()},_buildX:function(){var t=this.height,i=this.width,e=this.options.margin,s=this.svg,a=this.options.style["font-size"],r=this.boxWidth;this.gxAxis=s.append("g").attr("class","x axis").style("stroke-width",1).attr("transform","translate(0,"+t+")").call(this.xAxis);var n=Math.min(r,a);this.gxAxis.selectAll("text").style(this.options.style).style({"font-size":n+"px"}).attr("transform",function(t){return"rotate(-90)translate("+(-this.getBBox().height-15)+","+(r/2-n)+")"}),s.append("rect").attr("width",i).attr("height",a+3).attr("y",t+e.bottom-a-3).attr("fill",this.options.debug_color).attr("opacity",.7),this.gxAxisLabel=s.append("text").attr("class","x label").style(this.options.style).text(this.chart.settings.get("x_axis_label")).attr("transform",function(s){var r=t+e.bottom-a/3;return"translate("+(i-this.getBBox().width)/2+","+r+")"}),this.gxTickLabel=s.append("text").attr("class","title").style(this.options.style).style({"font-size":1.1*a}).text(this.group.key).attr("transform",function(t){var s=-e.top/2;return"translate("+(i-this.getBBox().width)/2+","+s+")"})},_buildY:function(){var t=this.height,i=this.options.margin,e=this.svg,s=this.options.style["font-size"],a=this.boxHeight;this.gyAxis=e.append("g").attr("class","y axis").style("stroke-width",1).call(this.yAxis);var r=Math.min(a,s);this.gyAxis.selectAll("text").style(this.options.style).style({"font-size":r+"px"}).attr("y",-a/2),e.append("rect").attr("width",s).attr("height",t).attr("x",-i.left).attr("fill",this.options.debug_color).attr("opacity",.7),this.gyAxisLabel=e.append("text").attr("class","y label").style(this.options.style).text(this.chart.settings.get("y_axis_label")).attr("transform",function(e){var a=-i.left+s-2;return"rotate(-90)translate("+-(t+this.getBBox().width)/2+","+a+")"})},_buildLegend:function(){var t=this,e=this.height,s=this.width,a=this.options.margin,r=this.options.legend.style["font-size"],n=this.options.legend.limit,o=this.options.legend.size,h=this.options.legend.width,l=this.zScale.range().length,c=Math.max(o*e/l,r),d=l*c/2,p=i.range(this.zMin,this.zMax,2*(this.zMax-this.zMin)/l).reverse();if(!(p.length<2)){var g=this.svg.selectAll(".legend").data(p).enter().append("g").attr("class","legend").attr("transform",function(t,i){return"translate("+(s+10)+","+((e-d)/2+i*c)+")"});g.append("rect").attr("width",h).attr("height",c).style("fill",function(i){return t.zScale(i)}),g.append("text").attr("x",h+4).attr("y",function(){return(c+this.getBBox().height)/2}).style(this.options.legend.style).text(function(t){return String(t).length>n?String(t).substr(0,n-2)+"..":String(t)}),this.svg.append("text").style(this.options.legend.style).style({"font-size":9,"font-weight":"bold"}).text("Legend").attr("transform",function(t,i){return"translate("+(s+(a.right-this.getBBox().width)/2)+","+((e-d)/2-10)+")"})}},_makeTickFormat:function(t){var i=this.chart.settings,e=this;n.makeTickFormat({categories:e.categories.array[t],type:i.get(t+"_axis_type|type"),precision:i.get(t+"_axis_type|precision"),formatter:function(i){i&&e[t+"Axis"].tickFormat(function(t){return i(t)})}})},_handleError:function(t){this.chart.state("failed",t)},_templateTooltip:function(t){var i=this.categories.array.x[t.x];return'
"}});_.extend(window.bundleEntries||{},{heatmap_default:function(t){t.render=function(i,e){return new l({chart:t.chart,canvas_id:i,groups:e}),!0},o.requestPanels(t)},heatmap_cluster:function(t){h.request(t.chart,h.requestCharts(t.chart,"heatmap"),function(i){var e=new Backbone.Collection;t.chart.groups.each(function(t,i){e.add({__data_columns:{x:{is_label:!0},y:{is_label:!0},z:{is_numeric:!0}},x:i++,y:i++,z:i++,key:t.get("key")})}),t.dataset_id=i.id,t.dataset_groups=e,t.render=function(i,e){return new HeatMap({chart:t.chart,canvas_id:i,groups:e}),!0},o.requestPanels(t)},function(){t.process.reject()})}});
-},{"d3":4,"./colorsets":3}]},{},[1])
\ No newline at end of file
+"use strict";var t=require("d3"),i=r(t),e=require("./colorsets"),s=a(e);function a(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e]);return i.default=t,i}var n=window.bundleEntries.chartUtilities.Series,o=window.bundleEntries.chartUtilities.Datasets,h=window.bundleEntries.chartUtilities.Jobs,l=Backbone.View.extend({optionsDefault:{margin:{top:40,right:70,bottom:70,left:70},style:{"font-weight":"normal","font-family":"Verdana","font-size":12},legend:{width:15,size:.9,style:{"font-weight":"normal","font-family":"Verdana","font-size":11},limit:7},background_color:"#FFFFFF",debug_color:"#FFFFFF"},initialize:function(t){var e=this;this.chart=t.chart,this.canvas_id=t.canvas_id,this.group=t.groups[0],this.data=t.groups[0].values,this.options=_.defaults(this.optionsDefault,t),this.color_set=s.default[this.chart.settings.get("color_set","seism")],this.categories=n.makeUniqueCategories([this.group]),this.xScale=i.scale.linear().domain([0,this.categories.array.x.length]),this.yScale=i.scale.linear().domain([0,this.categories.array.y.length]),this.zMin=i.min(this.data,function(t){return t.z}),this.zMax=i.max(this.data,function(t){return t.z}),this.zScale=i.scale.quantize().domain([this.zMin,this.zMax]).range(this.color_set),this.xAxis=i.svg.axis().scale(this.xScale).orient("bottom"),this.yAxis=i.svg.axis().scale(this.yScale).orient("left"),this._makeTickFormat("x"),this._makeTickFormat("y"),this.tooltip=i.select(".charts-viewport-container").append("div").attr("class","charts-tooltip").style(this.options.style).style("opacity",0),$(window).on("resize",function(){e.redraw()}),this.redraw(),n.addZoom({xAxis:this.xAxis,yAxis:this.yAxis,redraw:function(){e.redraw()},svg:i.select("#"+this.canvas_id)})},redraw:function(){var t=$("#"+this.canvas_id);t.empty();var e=this.xScale.domain(),s=this.yScale.domain(),a=Math.ceil(e[0]),r=Math.floor(e[1]),n=Math.ceil(s[0]),o=Math.floor(s[1]);this.xAxis.tickValues(i.range(a,r,1)),this.yAxis.tickValues(i.range(n,o,1));var h=this.options.margin;this.height=parseInt(t.height())-h.top-h.bottom,this.width=parseInt(t.width())-h.left-h.right,this.xScale.range([0,this.width]),this.yScale.range([this.height,0]),this.rowCount=s[1]-s[0],this.colCount=e[1]-e[0],this.boxWidth=Math.max(1,Math.floor(this.width/this.colCount)),this.boxHeight=Math.max(1,Math.floor(this.height/this.rowCount)),this.svg=i.select("#"+this.canvas_id).append("g").attr("class","heatmap").attr("transform","translate("+h.left+","+h.top+")"),this._buildBoxes(),this._buildX(),this._buildY(),"true"==this.chart.settings.get("show_legend")&&this._buildLegend()},_buildBoxes:function(){var t=this,e=this.height,s=this.width,a=this.svg,r=this.boxWidth,n=this.boxHeight;a.append("rect").attr("width",s).attr("height",e).attr("fill",this.options.background_color),a.append("clipPath").attr("id","clip").append("rect").attr("x",0).attr("y",0).attr("width",s).attr("height",e);var o=a.append("g").attr("clip-path","url(#clip)").selectAll("box-group").data(this.data,function(t,i){return t.x+"\0"+t.y});o.enter().append("g").attr("class","box-group").append("rect").attr("class","heat-box"),o.selectAll("rect").attr("rx",1).attr("ry",1).attr("fill",function(i){return t.zScale(i.z)}).attr("width",r).attr("height",n).attr("transform",function(i){return"translate("+t.xScale(i.x)+","+t.yScale(i.y+1)+")"}),o.selectAll("rect").on("dblclick",function(e){var s=t.chart.settings.get("url_template").trim();if(s){i.event.stopPropagation();var a=t.categories.array.x[e.x],r=t.categories.array.y[e.y];window.open(s.replace("__LABEL__",a)),window.open(s.replace("__LABEL__",r))}}).on("mouseover",function(i){var e=this.getScreenCTM().translate(+this.getAttribute("cx"),+this.getAttribute("cy"));t.tooltip.style("opacity",.9),t.tooltip.html(t._templateTooltip(i)).style("left",window.pageXOffset+e.e+15+"px").style("top",window.pageYOffset+e.f-30+"px")}).on("mouseout",function(i){t.tooltip.style("opacity",0)}),this.tooltip.style("opacity",0),o.exit().remove()},_buildX:function(){var t=this.height,i=this.width,e=this.options.margin,s=this.svg,a=this.options.style["font-size"],r=this.boxWidth;this.gxAxis=s.append("g").attr("class","x axis").style("stroke-width",1).attr("transform","translate(0,"+t+")").call(this.xAxis);var n=Math.min(r,a);this.gxAxis.selectAll("text").style(this.options.style).style({"font-size":n+"px"}).attr("transform",function(t){return"rotate(-90)translate("+(-this.getBBox().height-15)+","+(r/2-n)+")"}),s.append("rect").attr("width",i).attr("height",a+3).attr("y",t+e.bottom-a-3).attr("fill",this.options.debug_color).attr("opacity",.7),this.gxAxisLabel=s.append("text").attr("class","x label").style(this.options.style).text(this.chart.settings.get("x_axis_label")).attr("transform",function(s){var r=t+e.bottom-a/3;return"translate("+(i-this.getBBox().width)/2+","+r+")"}),this.gxTickLabel=s.append("text").attr("class","title").style(this.options.style).style({"font-size":1.1*a}).text(this.group.key).attr("transform",function(t){var s=-e.top/2;return"translate("+(i-this.getBBox().width)/2+","+s+")"})},_buildY:function(){var t=this.height,i=this.options.margin,e=this.svg,s=this.options.style["font-size"],a=this.boxHeight;this.gyAxis=e.append("g").attr("class","y axis").style("stroke-width",1).call(this.yAxis);var r=Math.min(a,s);this.gyAxis.selectAll("text").style(this.options.style).style({"font-size":r+"px"}).attr("y",-a/2),e.append("rect").attr("width",s).attr("height",t).attr("x",-i.left).attr("fill",this.options.debug_color).attr("opacity",.7),this.gyAxisLabel=e.append("text").attr("class","y label").style(this.options.style).text(this.chart.settings.get("y_axis_label")).attr("transform",function(e){var a=-i.left+s-2;return"rotate(-90)translate("+-(t+this.getBBox().width)/2+","+a+")"})},_buildLegend:function(){var t=this,e=this.height,s=this.width,a=this.options.margin,r=this.options.legend.style["font-size"],n=this.options.legend.limit,o=this.options.legend.size,h=this.options.legend.width,l=this.zScale.range().length,c=Math.max(o*e/l,r),d=l*c/2,p=i.range(this.zMin,this.zMax,2*(this.zMax-this.zMin)/l).reverse();if(!(p.length<2)){var g=this.svg.selectAll(".legend").data(p).enter().append("g").attr("class","legend").attr("transform",function(t,i){return"translate("+(s+10)+","+((e-d)/2+i*c)+")"});g.append("rect").attr("width",h).attr("height",c).style("fill",function(i){return t.zScale(i)}),g.append("text").attr("x",h+4).attr("y",function(){return(c+this.getBBox().height)/2}).style(this.options.legend.style).text(function(t){return String(t).length>n?String(t).substr(0,n-2)+"..":String(t)}),this.svg.append("text").style(this.options.legend.style).style({"font-size":9,"font-weight":"bold"}).text("Legend").attr("transform",function(t,i){return"translate("+(s+(a.right-this.getBBox().width)/2)+","+((e-d)/2-10)+")"})}},_makeTickFormat:function(t){var i=this.chart.settings,e=this;n.makeTickFormat({categories:e.categories.array[t],type:i.get(t+"_axis_type|type"),precision:i.get(t+"_axis_type|precision"),formatter:function(i){i&&e[t+"Axis"].tickFormat(function(t){return i(t)})}})},_handleError:function(t){this.chart.state("failed",t)},_templateTooltip:function(t){var i=this.categories.array.x[t.x];return'Row: '+this.categories.array.y[t.y]+' Column: '+i+' Value: '+t.z+"
"}});_.extend(window.bundleEntries||{},{heatmap_default:function(t){t.render=function(i,e){return new l({chart:t.chart,canvas_id:i,groups:e}),!0},o.requestPanels(t)},heatmap_cluster:function(t){h.request(t.chart,h.requestCharts(t.chart,"heatmap"),function(i){var e=new Backbone.Collection;t.chart.groups.each(function(t,i){e.add({__data_columns:{x:{is_label:!0},y:{is_label:!0},z:{is_numeric:!0}},x:i++,y:i++,z:i++,key:t.get("key")})}),t.dataset_id=i.id,t.dataset_groups=e,t.render=function(i,e){return new l({chart:t.chart,canvas_id:i,groups:e}),!0},o.requestPanels(t)},function(){t.process.reject()})}});
+},{"d3":4,"./colorsets":3}]},{},[1])
+//# sourceMappingURL=/script.map
\ No newline at end of file
diff --git a/config/plugins/visualizations/jqplot/jqplot_bar/src/script.js b/config/plugins/visualizations/jqplot/jqplot_bar/src/script.js
index b386c6cbbcbc..08e4f29cd11f 100644
--- a/config/plugins/visualizations/jqplot/jqplot_bar/src/script.js
+++ b/config/plugins/visualizations/jqplot/jqplot_bar/src/script.js
@@ -1,7 +1,8 @@
-import * as d3 from "d3";
+import * as d3 from 'd3';
import jqplot from 'jqplot-exported/jqplot';
import { LineRenderer } from 'jqplot-exported/LineRenderer';
import { BarRenderer } from 'jqplot-exported/plugins/BarRenderer';
+import { OHLCRenderer } from 'jqplot-exported/plugins/OHLCRenderer';
import { EnhancedLegendRenderer } from 'jqplot-exported/plugins/EnhancedLegendRenderer';
var Series = window.bundleEntries.chartUtilities.Series;
@@ -230,17 +231,17 @@ _.extend(window.bundleEntries || {}, {
key : group.get( 'key' )
});
});
- var plot = new Plot( {
+ var plot = new CommonWrapper( {
process : options.process,
chart : options.chart,
dataset_id : dataset.id,
dataset_groups : dataset_groups,
targets : options.targets,
makeConfig : function( groups, plot_config ){
- var boundary = Utilities.getDomains( groups, 'x' );
+ var boundary = Series.getDomains( groups, 'x' );
$.extend( true, plot_config, {
seriesDefaults: {
- renderer: $.jqplot.OHLCRenderer,
+ renderer: OHLCRenderer,
rendererOptions : {
candleStick : true,
fillUpBody : true,
@@ -264,7 +265,7 @@ _.extend(window.bundleEntries || {}, {
for ( var group_index in groups ) {
x_labels.push( groups[ group_index ].key );
}
- Utilities.mapCategories ( groups, x_labels );
+ Series.mapCategories ( groups, x_labels );
return {
array: {
x : x_labels
@@ -332,11 +333,11 @@ _.extend(window.bundleEntries || {}, {
options.dataset_groups = dataset_groups;
options.makeConfig = function( groups, plot_config ){
$.extend( true, plot_config, {
- seriesDefaults: { renderer: $.jqplot.BarRenderer },
+ seriesDefaults: { renderer: BarRenderer },
axes: { xaxis: { min : -1 }, yaxis: { pad : 1.2 } }
});
};
- new Plot( options );
+ new CommonWrapper( options );
});
},
jqplot_line: function(options) {
diff --git a/config/plugins/visualizations/jqplot/jqplot_bar/static/script.css b/config/plugins/visualizations/jqplot/jqplot_bar/static/script.css
index 155a9c1e4b73..1574ae8eb255 100644
--- a/config/plugins/visualizations/jqplot/jqplot_bar/static/script.css
+++ b/config/plugins/visualizations/jqplot/jqplot_bar/static/script.css
@@ -1 +1 @@
-.jqplot-target{position:relative;color:#666;font-family:Trebuchet MS,Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-xaxis{margin-top:10px}.jqplot-x2axis{margin-bottom:10px}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-x2axis-tick,.jqplot-xaxis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick,.jqplot-yaxis-tick,.jqplot-yMidAxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:1;font-size:1.5em}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-xaxis-label{margin-top:10px;font-size:11pt;position:absolute}.jqplot-x2axis-label{margin-bottom:10px;font-size:11pt;position:absolute}.jqplot-yaxis-label{margin-right:10px}.jqplot-yaxis-label,.jqplot-yMidAxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin:12px}table.jqplot-cursor-legend,table.jqplot-table-legend{background-color:hsla(0,0%,100%,.6);border:1px solid #ccc;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:active,td.jqplot-seriesToggle:hover{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc;padding:1px}div.jqplot-table-legend-swatch{width:0;height:0;border-top-width:5px;border-bottom-width:5px;border-left-width:6px;border-right-width:6px;border:solid}.jqplot-title{top:0;left:0;padding-bottom:.5em;font-size:1.2em}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-canvasOverlay-tooltip,.jqplot-cursor-tooltip,.jqplot-highlighter-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:hsla(0,0%,82%,.5);padding:1px}.jqplot-point-label{font-size:.75em;z-index:1}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:#333}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:hsla(0,0%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:hsla(0,0%,96%,.3)}
\ No newline at end of file
+.jqplot-target{position:relative;color:#666;font-family:Trebuchet MS,Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-xaxis{margin-top:10px}.jqplot-x2axis{margin-bottom:10px}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-x2axis-tick,.jqplot-xaxis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick,.jqplot-yaxis-tick,.jqplot-yMidAxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:2;font-size:1.5em}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-xaxis-label{margin-top:10px;font-size:11pt;position:absolute}.jqplot-x2axis-label{margin-bottom:10px;font-size:11pt;position:absolute}.jqplot-yaxis-label{margin-right:10px}.jqplot-yaxis-label,.jqplot-yMidAxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin:12px}table.jqplot-cursor-legend,table.jqplot-table-legend{background-color:hsla(0,0%,100%,.6);border:1px solid #ccc;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:active,td.jqplot-seriesToggle:hover{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc;padding:1px}div.jqplot-table-legend-swatch{width:0;height:0;border-top-width:5px;border-bottom-width:5px;border-left-width:6px;border-right-width:6px;border:solid}.jqplot-title{top:0;left:0;padding-bottom:.5em;font-size:1.2em}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-canvasOverlay-tooltip,.jqplot-cursor-tooltip,.jqplot-highlighter-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:hsla(0,0%,82%,.5);padding:1px}.jqplot-point-label{font-size:.75em;z-index:2}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:#333}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:hsla(0,0%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:hsla(0,0%,96%,.3)}
\ No newline at end of file
diff --git a/config/plugins/visualizations/jqplot/jqplot_bar/static/script.js b/config/plugins/visualizations/jqplot/jqplot_bar/static/script.js
index c881be85dd0f..bb02079aabec 100644
--- a/config/plugins/visualizations/jqplot/jqplot_bar/static/script.js
+++ b/config/plugins/visualizations/jqplot/jqplot_bar/static/script.js
@@ -1,938 +1,945 @@
-require=function(r,e,n){function t(n,o){function i(r){return t(i.resolve(r))}function f(e){return r[n][1][e]||e}if(!e[n]){if(!r[n]){var c="function"==typeof require&&require;if(!o&&c)return c(n,!0);if(u)return u(n,!0);var l=new Error("Cannot find module '"+n+"'");throw l.code="MODULE_NOT_FOUND",l}i.resolve=f;var a=e[n]=new t.Module;r[n][0].call(a.exports,i,a,a.exports)}return e[n].exports}function o(){this.bundle=t,this.exports={}}var u="function"==typeof require&&require;t.Module=o,t.modules=r,t.cache=e,t.parent=u;for(var i=0;iRow: '+this.categories.array.y[t.y]+' Column: '+i+' Value: '+t.z+"