Take a look at this demo on jsFiddle
$(function () {
$('#container').highcharts({
chart: {
},
xAxis: {
categories: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
},
yAxis: {
gridLineColor: '#197F07',
gridLineWidth: 0,
lineWidth:1,
plotLines: [{
color: '#FF0000',
width: 1,
value: 0
}]
},
series: [{
data: [-2,1,2,3,-3,2,1]
}]
});
});
Hello there! I am currently working on implementing a highchart (line graph). My goal is to hide the x-axis and only show a horizontal line at y=0. In the provided chart, I would like the horizontal line to be present only at y=0, not at y=-4.
Do you happen to know of any way to achieve this particular customization?