score:22
Accepted answer
Yes. You can add it as a plotline, like this:
yAxis: {
// ...Options
plotLines: [{
color: 'red',
value: '15', // Insert your average here
width: '1',
zIndex: 4 // To not get stuck below the regular plot lines or series
}]
}
Source: stackoverflow.com
Related Query
- Can I add an "average" line to Highcharts Chart?
- Add dynamic data to line chart from mysql database with highcharts
- Add custom buttons in Angular Highcharts Line Chart
- I want to add a line to each column in a Highcharts column chart
- How to add a horizontal line in Column bar chart in Highcharts plugin?
- Highcharts add point to line chart with json
- Highcharts add a Mean line to BoxPlot chart
- Add the average line of a serie to a chart
- Highcharts add single line to column chart
- Highcharts - Add a pie chart to a line chart
- Moving Average Line in Highcharts Scattered Chart
- Add line to 3d column chart in Highcharts
- Can we add fixed buttons on top of bars in highcharts bar chart
- How to add a line at the bottom of a column chart in highcharts
- How can I format the Highcharts gantt chart to be a dashed line instead of a solid line?
- I want to add a line from each part in column in a Highcharts stacked column chart
- How can I get access to a Highcharts chart through a DOM-Container?
- HighCharts turn animation false for line chart
- Highcharts => Getting the id of a point when clicking on a line chart
- Highcharts saying undefined is not a function when trying to add a new chart
- Improve performance of Highcharts line chart
- Add buttons in chart of Highcharts at runtime
- HighCharts Pie Chart - Add text inside each slice
- Can highcharts crosshairs show on top of area chart fill?
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts line chart won't display line chart in IE
- How to add space between chart and axis in highcharts
- Highcharts - How can I remove starting and ending padding from area chart
- Highcharts - Scatter chart with a line connecting the dots in the series
- Highcharts line chart tooltips not showing correctly?
More Query from same tag
- Semi-circle donut pie chart with labels (data names) and %-ages on the pie ... and data numbers on mousehover
- Color columns based on x axis and not on values (y axis) in highcharts
- Highcharts Gauge Chart display value at tickPositions:
- How do I increase the number of points in a live updating spline chart?
- Highcharts get selected column index
- Show loading indicator while graph is loading in Highcharts
- Highcharts - bar chart columns too thin with too many series
- Controlling when boost mode is used in HighCharts?
- HighChart XAxes Category
- Highcharts: Dynamically change the offset of the xAxis
- highchart autoupdate(addpoint) cause corrupted chart view
- Returning MySQL table values from PHP script to Javascript function - Live Graphing
- Formatting JSON Data with ColdFusion for HighCharts
- Plot Histograms in Highcharts
- How filter json data with date from datepicker Angular2 app
- Yii highcharts draw semi circle
- Highcharts Tooltip - Access "z" value in series data array
- Show tootip and select pie slice on legend click of pie chart in HighCharts
- Synchronized charts or multiple charts like Highcharts in Android
- R Shiny Highcharter - Add series without full reload
- create a donut chart using highchart using jquery json object
- Highcharts redraw not working with alignTicks
- How to hide columns with no data in HighCharts
- How to return Highcharts ID, once it has been render?
- Consider 0 number of hits for omitted dates
- change color of highcharts legend page navigation buttons
- Highcharts - Custom format for dateTimeLabelFormats (1st hour, 2nd hour....)
- How to set R Highcharter stock x-axis dates
- Highcharts axis padding offset
- Creating a Pie (highcharts) using a defined HTML table