function getDashLength(diameter, strokeWidth, value) {
    return getSpinnerCircumference(diameter, strokeWidth) * (value / 100);
  }
Return length of the dash

@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)

@returns {number} Length of the dash