//>>built
define("dojox/charting/scaler/common",["dojo/_base/lang"],function(m){var h=function(a,d){return Math.abs(a-d)<=1E-6*(Math.abs(a)+Math.abs(d))},n=m.getObject("dojox.charting.scaler.common",!0),f={};return m.mixin(n,{doIfLoaded:function(a,d,e){if(void 0===f[a])try{f[a]=require(a)}catch(g){f[a]=null}return f[a]?d(f[a]):e()},getNumericLabel:function(a,d,e){var g="";n.doIfLoaded("dojo/number",function(p){g=(e.fixed?p.format(a,{places:0>d?-d:0}):p.format(a))||""},function(){g=e.fixed?a.toFixed(0>d?-d:
0):a.toString()});if(e.labelFunc){var c=e.labelFunc(g,a,d);if(c)return c}if(e.labels){c=e.labels;for(var b=0,k=c.length;b<k;){var l=Math.floor((b+k)/2);c[l].value<a?b=l+1:k=l}if(b<c.length&&h(c[b].value,a))return c[b].text;--b;if(0<=b&&b<c.length&&h(c[b].value,a))return c[b].text;b+=2;if(b<c.length&&h(c[b].value,a))return c[b].text}return g}})});