if (((this.elimits[1] - parseFloat(this.initialdata)) / (this.elimits[1] - this.elimits[0])) < 0.05) {
        this.options.plugins.datalabels.align = 'left';
        this.options.plugins.datalabels.color = 'white';
      } else {
        this.options.plugins.datalabels.align = 'right';