all files / circular-gauge/utils/ helper-axis-panel.js

100% Statements 9/9
100% Branches 0/0
100% Functions 2/2
100% Lines 9/9
1 2 3 4 5 6 7 8 9 10 11 12 13 14   735× 735× 735× 767×   735×      
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    function calculateSum(from, to, values) {
        var sum = 0;
        var length = values.length;
        for (; from < length; from++) {
            sum += values[from];
        }
        return sum;
    }
    exports.calculateSum = calculateSum;
});