score:1
Accepted answer
Use plot lines for y-axis:
yAxis: { ... plotLines: [{ color: 'red', value: 100, zIndex: 2 }] }
Use
gridLineColor
for x-axis:xAxis: { ..., gridLineColor: 'blue' }
Use
gridLineColor
for y-axis:yAxis: { gridLineColor: 'green', ... }
Live demo: http://jsfiddle.net/BlackLabel/fm45ab3k/
API Reference: https://api.highcharts.com/highcharts/yAxis.plotLines
Source: stackoverflow.com
Related Query
- How do I change the style of the frame lines in a radar(polar) chart created with highcharts?
- How do I change the style of the inner part enclosed by the lines(polar) chart created with highcharts?
- How can I make milestone lines with a GANTT chart using the highcharts library?
- How can a text box be bound dynamically to the right border of a chart created with Highcharts?
- How to display the pie chart legend with proper style so that the chart is visible
- How to change time frame of the candle stick chart in Highcharts (Highstock)?
- How to save an image of the chart on the server with highcharts?
- How to show a column with the value Zero in Column chart in Highcharts?
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- How can I extend the lines of this Highchart series to the edges of my chart area?
- how to display the title in the middle of a donut chart with legend?(react-highcharts)
- How to use Highcharts React to create chart with multiple lines for same XAxis?
- How to change the background color of measure tool in stock chart in highstock?
- How to Change the color of the text in donut chart
- How to change color of bar in column chart with different level of percentage in highcharts
- How to change the color of single point in spiderweb chart
- How can I display crosshair labels on top of the chart with Highcharts
- How to Change marker symbol and dataLabel with custom style in Highcharts
- How to change the theme of a Highstock graph with a button?
- How to change the chart title dynamically on tooltip hover in the points Highcharts.. React JS
- How to change the background series colour of Highcharts Radar chart
- How to change font size of chart title in downloaded pdf with jspdf
- How to cover the whole pie chart with selected portion
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- how to change the color of column in chart ?
- How to change the distance between lines of grid?
- How to change the series color and mark after I draw the line chart in highcharts?Does it has databound event?
- Change the style of Highchart stacked colum chart
- How can I change highcharts events after the chart has been initialized
- Using an editable table with HighChart and having the chart refresh with change
More Query from same tag
- jsPDF not rendering highcharts image on Edge browser
- How to fix the width of bar in waterfall chart as well as its x-axis width of one group.?
- Redrawing Highcharts after service call - Angularjs
- How to show real time HighCharts Line Graph data which is receiving by an API?
- Turn long list of items in Highcharts legend into dropdown
- Highchart step line chart tooltip show old data when there is no data
- How is it possible to show the menu of a chart with React Highcharts?
- highchart feed data from php json
- I want to create a Weibull probability Plot in Angular
- Highcharts stocks - Scale candlesticks serie only
- Showing tooltip on right side of the column in a vertical bar chart
- my highchart is currently is not working with pie spline chart in updating after rendering chart
- want to remove this bullet in front of these labels of highcharts graph
- Javascript HighCharts reading from a different format
- how to always show markers in zoomable datetime charts in highcharts?
- Stop Highchart when end of the Array element reached
- Highmaps Select Multiple Points With Clustering Enabled Loses What Is Selected Already
- set a symbol marker with highchart
- Highcharts - Different display month
- How can I hide series from a HighCharts legend?
- Add vertical(projection) line from point to categories, highcharts
- HighCharts stacked column range
- How to customize both, width of the bar & spacing between bar in Highcharts.js
- How to customize graph title and subtitle
- How to remove Highcharts grid end lines on x and y axis?
- highcharts gets my hour time wrong
- Create Density Heatmap Chart using Jquery with array of data
- How can I export my chart output to JPEG or png format?
- Highcharts - yAxis tickInterval to max data
- Set zero for missing data in highcharts