[Vuejs]-Draw vertical thresholds with chartjs-plugin-annotation and vue-chartjs

0👍

Try setting max an min values for the axes:

suggestedMax, suggestedMin

        scales: {
          xAxes: [
            {
              gridLines: {
                display: false,
              },
              ticks: {
                suggestedMax: 35,
                suggestedMin: 20
              },
              barThickness: 30,
            },
          ],

Leave a comment