score:0

Accepted answer

your code looks fine but you need to define ticks.autoskip: false:

ticks: {
    ... 
    autoskip: false, 

please have a look at the amended stackblitz

if autoskip is true (default), chart.js automatically calculates how many labels can be shown and hides labels accordingly. labels will be rotated up to maxrotation before skipping any. turn autoskip off to show all labels no matter what.


Related Query

More Query from same tag