_createLabels() {
      if (!this.labelInterval || !this.showTickmarks) {
        return;
      }
      const labelInterval = this.labelInterval;
      const step = this._effectiveStep;
      const newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval);
      // If the required labels are already rendered
      if (newNumberOfLabels === this._oldNumberOfLabels) {
        return;
      }
      this._oldNumberOfLabels = newNumberOfLabels;
      this._labelWidth = 100 / newNumberOfLabels;
      this._labelValues = [];
      // If the step value is not a round number get its precision
      const stepPrecision = SliderBase_1._getDecimalPrecisionOfNumber(step);
      // numberOfLabels below can be float so that the "distance betweenlabels labels"
      // calculation to be precize (exactly the same as the distance between the tickmarks).
      // That's ok as the loop stop condition is set to an integer, so it will practically
      // "floor" the number of labels anyway.
      for (let i = 0; i <= newNumberOfLabels; i++) {
        // Format the label numbers with the same decimal precision as the value of the step property
        const labelItemNumber = (i * step * labelInterval + this._effectiveMin).toFixed(stepPrecision);
        this._labelValues.push(labelItemNumber);
      }
    }
Calculates the labels amount, width and text and creates them

@private