code: function getDashLength(diameter, strokeWidth, value, limit) {
      return (diameter - strokeWidth) * $window.Math.PI * ((3 * (limit || 100) / 100) - (value/100));
    }
docs: Return stroke length for progress circle
  
  @param {number} diameter Diameter of the container.
  @param {number} strokeWidth Stroke width to be used when drawing circle
  @param {number} value Percentage of circle (between 0 and 100)
  @param {number} limit Max percentage for circle
  
  @returns {number} Stroke length for progres circle