Chartjs-Lograthmic yaxsis setting not working in chartjs

1👍

The axis type must not be defined inside the ticks option but directly on the axis as follows:

yAxes: [{
  type: 'logarithmic',
  ticks: {
    beginAtZero: false        
  },

Please consult Cartesian Axes Common Configuration from Chart.js documentation.

Leave a comment