Y axis ticks
by amrutaJgtp
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container"></div>
JavaScript
Highcharts.chart('container', {
chart: {
zoomType: 'xy' //Zoom to observe the minor ticks
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
//MAJOR TICKS
gridLineWidth: 0,
labels: {
step: 2 //working
}
},
series: [{
data: [29.9, 71.5, 600.4, 523.2, 144.0, 444.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});