lib/ui/charting/js_charting.js
function(num) {
            var result = Math.log(num) / Math.LN10;
            return (Math.round(result * 10000) / 10000);
        }
function(num) {
            var result = Math.log(num) / Math.LN10;
            return (Math.round(result * 10000) / 10000);
        }
function ( num ) { var result = Math . log ( num ) / Math . LN10 ; return ( Math . round ( result * 10000 ) / 10000 ) ; }
shortcut for base-ten log, also rounds to four decimal points of precision to make pretty numbers
shortcut for base - ten log also rounds to four decimal points of precision to make pretty numbers