javascript - Display all labels on X axis in Chart.js - Stack Overflow I am new to Chart.js , I have been looking for a way to display all labels in chart.js regardless of whether there is a data for the label or not, I have tried the max and min but it does not work so I came across the ticks callback: