We are using licensed Highcharts.
We are trying to create a chart with few icons(or lets say series) that fall on x axis line ( which means the points for icons will be (x1, 0) or (x2,0) x1 and x2 being points on x axis line and we have hardcoded the y axis value to 0. Problem occurs when we set min value for y axis and highcharts automatically assigns a min for y axis starting point. EG: when we say minimum for y axis is 86 highcharts sometimes starts from 80 as y axis min which is an inherent behavior. But now we want to change the y value for the icons to 80 because only then will it sit on the x axis line. But the problem is that we cannot get the min value of the y axis which highcharts inherently assigns. Is there a way to get this value?
PS: we don't want to use tickinterval, tickamount and want the ticker intervals to be dynamic according to the series values.
eg:
Highcharts.chart('container', {
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
min: 55,
startOnTick: true
},
series: [{
data: [80, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 160.4, 194.1, 95.6, 65]
}]
});
for this above code in js fiddle though the min is set to 55 the y axis starts from 50 and we want this value (50) so that we can use it to construct a series. Please let us know how we can achieve this. Thanks