lib/ui/charting/js_charting.js
function(num) {
            if(typeof num !== "number") {
                return NaN;
            }
            var isNegative = (num < 0),
                result;

            if(isNegative) {
                num = -num;
            }
            if(num < 10) {
                num += (10 - num) / 10;
            }
            result = this.logBaseTen(num);
            return (isNegative) ? -result : result;
        }
function(num) {
            if(typeof num !== "number") {
                return NaN;
            }
            var isNegative = (num < 0),
                result;

            if(isNegative) {
                num = -num;
            }
            if(num < 10) {
                num += (10 - num) / 10;
            }
            result = this.logBaseTen(num);
            return (isNegative) ? -result : result;
        }
function ( num ) { if ( typeof num !== "number" ) { return NaN ; } var isNegative = ( num < 0 ) , result ; if ( isNegative ) { num = - num ; } if ( num < 10 ) { num += ( 10 - num ) / 10 ; } result = this . logBaseTen ( num ) ; return ( isNegative ) ? - result : result ; }
transforms numbers to a normalized log scale that can handle negative numbers rounds to four decimal points of precision
transforms numbers to a normalized log scale that can handle negative numbers rounds to four decimal points of precision