src/browser/vendors/chart.js
function populateLabels(labelTemplateString, labels, numberOfSteps, graphMin, stepValue) {
        if (labelTemplateString) {
            //Fix floating point errors by setting to fixed the on the same decimal as the stepValue.
            for (var i = 1; i < numberOfSteps + 1; i++) {
                labels.push(tmpl(labelTemplateString, {value: (graphMin + (stepValue * i)).toFixed(getDecimalPlaces(stepValue))}));
            }
        }
    }
function populateLabels(labelTemplateString, labels, numberOfSteps, graphMin, stepValue) {
        if (labelTemplateString) {
            //Fix floating point errors by setting to fixed the on the same decimal as the stepValue.
            for (var i = 1; i < numberOfSteps + 1; i++) {
                labels.push(tmpl(labelTemplateString, {value: (graphMin + (stepValue * i)).toFixed(getDecimalPlaces(stepValue))}));
            }
        }
    }
function populateLabels ( labelTemplateString , labels , numberOfSteps , graphMin , stepValue ) { if ( labelTemplateString ) { //Fix floating point errors by setting to fixed the on the same decimal as the stepValue. for ( var i = 1 ; i < numberOfSteps + 1 ; i ++ ) { labels . push ( tmpl ( labelTemplateString , { value : ( graphMin + ( stepValue * i ) ) . toFixed ( getDecimalPlaces ( stepValue ) ) } ) ) ; } } }
Populate an array of all the labels by interpolating the string.
Populate an array of all the labels by interpolating the string .