score:13
Accepted answer
Unless you really need the legend entry, I would recommend using plotBands instead
http://api.highcharts.com/highcharts#xAxis.plotBands
You can also do it like this, if you do really need the legend:
http://jsfiddle.net/jlbriggs/JVNjs/305/
data:[[1.5,0],[1.5,80],[2.25,80],[2.25,0]]
It relies in part on setting a min and max, and using those min and max values as your y data points.
Source: stackoverflow.com
Related Query
- Highcharts - Highlight / Shade date range
- Highcharts - change background color along specific date range
- Highcharts - highlight mouse position within a range
- Highcharts x axis date full range even if there is not enough data
- Adding date range filter to Highcharts chart
- grouping date in Highcharts if the date range is too big
- Highcharts - Range Selector - Date fields not visible
- Highcharts with range out of bound value highlight with different color
- How to tell Highcharts to set date on the x axis, and use a range of time (like 1 day)
- Highcharts events issue with plotbands in Date Range Line Series
- highcharts area range date format
- Highlight point range in Highcharts
- highcharts x axis date variable range
- Display start and end date range in timeseries LineChart using HighCharts
- Highcharts range selector date formats from C#
- Highlight a range of Y axis in highcharts
- Display of plotted point labels not appearing properly on X Range Chart for the first date of month - Highcharts
- How to do a date range to view data from selected date highcharts
- HighCharts showing date range average 18:00-19:59
- Issue with highCharts range selector date format?
- How to call another function on changing the time range selector and date selector in Highcharts stock?
- Highcharts ColumnRange - Display time range on yAxsis instead of Date
- how to split by hour in highcharts while using x-axis type date range
- How to create a column range chart in Highcharts using range and navigator functions?
- How to make highcharts scrollable horizontally when having big range in x-axis
- Highcharts highlight single point on line
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Highcharts graph X-axis label for different date ranges
- json date format to Highcharts date format
- Rails - convert date string into javascript date object for highcharts
More Query from same tag
- HighCharts-Convert - Issue rendering heatmaps in .png format
- Remove the line and tickers on the X axis
- Highstock Series Compare To Previous Day
- Title of highchart rendering bad
- Drilldown on multiple Highcharts with the same data
- The RTL language (Arabic) is not working with HighCharts pie chart correctly, how can I fix this?
- Highcharts - prevent large marker from overflowing axes - my bubbles are escaping =(
- Highcharts tree map showing wrong min value
- Highcharts synchronized charts combining with other charts
- Highchart Funnel for Angular
- Highcharts / Highstock Invalid Date Issue
- How to revert/reverse/undo setSize() in Highcharts
- UseHTML=True in legend ignores itemWidth on click
- Clear chart by click in highcharts
- Add different symbols to highcharts chart with dynamic data
- How to get/set highcharts xAxis step?
- Render line chart across the plotting area
- Disable stacklabel for scatter line in highchart?
- Highcharts: Adding clickable image to every xAxis gridLine
- Coloured scatter-plots with javascript
- Highcharts angular dependency-wheel
- Highcharts - how to set textShadow for data labels
- Inconsistent columns width issue in highcharts
- Date type xAxis in Angular Highcharts is still allowing duplicate 'Date' values
- Highcharts - How do I get dashed lines in legend
- mouseOver in Highcharts
- Highcharts : how to set yAxis max value inside angularjs controller
- Highlight the corresponding y axis on mouse overr over the bar chart based on that axis in highchart
- Highstock - Minimal Zoom
- Plotbands in Highcharter - When x axis is date