Home > Mobile >  xAxes value missing on chart.js
xAxes value missing on chart.js

Time:07-26

enter image description here

The value of xAxes are not showing at below of xAxes but the values are showing within the graph as per the image. I need to show all the values to be shown in the below xAxes of graph.

CodePudding user response:

You need to set autoSkip to false in the tick options:

const options = {
  scales: {
    x: {
      ticks: {
        autoSkip: false
      }
    }
  }
}
  • Related