function getDashOffset(diameter, strokeWidth, value, maxArcLength) {
    return getSpinnerCircumference(diameter, strokeWidth) * ((maxArcLength - value) / 100);
  }
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} maxArcLength Maximum length of arc as a percentage of circle (between 0 and 100)

@returns {number} Stroke length for progress circle