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