Axis Labels, Tick at Irregular Intervals (Workaround using Stripline) | CanvasJS JavaScript Charts

Axis Labels, Tick at Irregular Intervals (Workaround using Stripline) | CanvasJS JavaScript Charts

HTML

<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
<br/><!-- Just so that JSFiddle's Result label doesn't overlap the Chart -->
<div id="chartContainer" style="height: 360px; width: 100%;"></div>

JavaScript

var chart = new CanvasJS.Chart("chartContainer",{
  title:{
    text: "Chart Title"
  },
  axisY:{
    logarithmic: true, // works if you set this to false
    minimum: 0,
  },
  data: [
    {
      type: "line",
      dataPoints: [
        { x: 1, y: 1 },
        { x: 4, y: 2 },
        { x: 8, y: 5  },
        { x: 12, y: 7 },
        { x: 14, y: 1 },
        { x: 18, y: 5 },
        { x: 20, y: 5 },
        { x: 22, y: 2 }					
      ]
    }
  ]
});


chart.render();