score:14
take a look at the plotlines api in the yaxis...
http://api.highcharts.com/highcharts#yaxis.plotlines
example... http://jsfiddle.net/48dul/
$(function () {
var chart = new highcharts.chart({
chart: {
renderto: 'container'
},
xaxis: {
categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],
},
yaxis: {
plotlines: [{
color: '#c0c0c0',
width: 5,
value: 0
}]
},
series: [{
data: [-29.9, -71.5, -106.4, -129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
});
Source: stackoverflow.com
Related Query
- Highcharts remove zero value labels
- Highcharts: Style Zero Y value
- highcharts remove gap (column) with zero value
- How to set Highcharts xAxis position on the yAxis zero value (negative/positive chart)?
- How to set Highcharts chart maximum yAxis value
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- Set highcharts y-axis min value to 0, unless there is negative data
- missing value in highcharts line graph results in no line, just points
- Highcharts - Keep Zero Centered on Y-Axis with Negative Values
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- How can I force multiple y-axis in Highcharts to have a common zero
- HighCharts - two Y-axis, one with max value
- Highcharts Change Bar Color Based on Value
- Highcharts dynamically change bar color based on value
- How to show a column with the value Zero in Column chart in Highcharts?
- print a value on highcharts bar graph?
- How to set a static minimum value for axes in Highcharts
- Highcharts - How to start x axis from an arbitrary value
- Highcharts - How to hide series name and Y value in tooltip
- How do I get the value of a highcharts graph point on mouseover?
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- HIghcharts 4 solid gauge max value
- Highcharts - How to get a value of a stack in a series?
- HighCharts Pie Chart Legend value alignment
- Setting Highcharts maximum Y value to an exact amount without rounding
- Show value of last point as label or tooltip on Highcharts Stock Chart
- Highcharts - show at least 5 horizontal grid lines, even when value doesn't change
- Highcharts remove gap between start of xAxis and first value
- Color contrast setting on dataLabels style parameter using Highcharts 5 is not working on some colors
- Change Datalabel Color, Rotation and Align values based on Column value in highcharts
More Query from same tag
- Highstock navigator does not work when also importing "highcharts-more" file
- How can I display different text from a different div on mouse click?
- change highstock flag to lines on xAxis
- Highstock gapsize is causing line rendering issue
- Show form view of existing id after click on menu button in odoo 8?
- how to determine the width of every column series present in the chart- highhcarts
- javascript : how to link categories to date in highcharts
- Map for Highmaps with England, Wales and Scotland etc
- How to change tool tip using High Charts
- Accessing functions in a highcharts click event in an ionic project
- Issue with closing angular ui bootstrap modal
- How to change highcharts bars width individually
- Place plotline above one series, but below another series
- Highchart tooltip customization
- SplitSeries does not work in Packed Bubble Highchart in r
- Formatting jSON response for Highcharts
- HIghCharts PHP MySQL
- Ploting pie chart in django by highcharts
- Highcharts columnrange date chart
- How do I rotate the legend in Highcharts?
- Javascript parameter is returned as both value and undefined
- highcharts.js how to force x-Axis label to display all months regardless of chart size
- Custom data and calling them during a click - highcharts
- Highcharter - add multiple text annotations
- Adding highcharts to mapbox popup from CSV?
- Highcharts hidden flag
- Set line to 0 if no measurements between dates in highchart
- How to fix "Highcharts error #13" on live chart? when i'm already insert DOMContentLoaded
- jquery chart should show ticks labels without data
- Highcharts: Updating a Pie Chart with setData()