Reputation: 81
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'Jun']
},
yAxis: {
max: 206,
endOnTick: false
},
series: [{
data: [29.9, 71.5, 95.6, 54.4, 201]}]
});
what can you do to make y-axis show 206!!
Upvotes: 2
Views: 2883
Reputation: 13646
The ticks have to be a multiple of the tickInterval
value ... if you set the tickInterval: 103
(or 51.5 ...) for the yAxis
then you'll get your desired tick at 206.
Upvotes: 5