Chartjs-Chartjs ticks creates a strange table

0👍

The problem is not related to stepSize but you want to have a horizontal bar but you didn’t configure indexAxis option. Without that, is a "vertical" bar and X scale is a category and not numeric one, as you need.

Add indexAxis option as following:

  options:{
    indexAxis: 'y',
    parsing: {
      yAxisKey: 'name',
      xAxisKey: 'value'
    },
    ...

Leave a comment