score:2
Accepted answer
What you most likely need is plotBands
xAxis.plotBands
A colored band stretching across the plot area marking an interval on the axis.
In a gauge, a plot band on the Y axis (value axis) will stretch along the perimiter of the gauge.
plotBands can be added on either of the axes, in your case you seem to want it on the xAxis, following is how one could do it
xAxis: {
plotBands: [{
color: '#FCFFC5',
from: Date.UTC(2010, 0, 2),
to: Date.UTC(2010, 0, 4)
}]
}
Source: stackoverflow.com
Related Query
- Chart background highlight in HighChart
- angular-chartJs change chart background and highlight colors
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Gradient background bars in Highchart bar chart
- Highlight the corresponding y axis on mouse overr over the bar chart based on that axis in highchart
- How to select or highlight the x axis border on click of Y axis label in gantt chart highchart
- Highchart Polar chart multiple background colors to SVG
- Remove Export and print button plugin on highchart chart
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- How to create a new Highstock chart with new Highchart and not jquery?
- Highchart Area Range chart with gradient that follows the line
- Background color for multiple Highchart panes, in Vue app
- Highchart - Redraw Chart after Window is resized
- how to reset Highchart chart width in percentage on Button click
- highchart chart redraw method is not refreshing the chart
- Highchart Axis Update/ chart redraw
- How can I extend the lines of this Highchart series to the edges of my chart area?
- Need to apply background color to each legend text highchart
- Make Highcharts border color match background color on column chart
- Adding a custom tooltip to a bubble chart / highchart
- How can I prevent my HighChart bar chart from being inverted?
- How to add a background image (pattern) to highchart column graph?
- Produce dot chart in highchart
- Highchart columns chart overlaps yAxis.plotLines labels
- create a donut chart using highchart using jquery json object
- using angular directive to draw highchart pie chart but when i am using it in success function it is not working
- Customize Stacked column chart in highChart
- put the highchart legend to the bottom of the chart and horizontally centered
- Fire click event on a highchart column drilldown chart on clicking x axis for drill down reports
- Set background color to HighChart xAxis labels
More Query from same tag
- Using a plot line comparator in Highcharts
- Not well-ordered X Axis values
- How to save Highcharts image on server auomatically
- How to set multiple xAxis.labels.align in HighCharts?
- How to programmatically zoom in highcharts?
- Creating a bubble map from custom GeoJson with Highcharts / Highmaps
- HighCharts Keep Vertical Line on Click Event
- Disable week view in more then 3 months x axis (Highchart js)
- Replace data set every min
- Highstock tickPixelInterval is not working
- Adding a series dynamically with HighCharts Stock Charts
- Line chart Y axix value not show with single data
- Highchart legend has clipped text
- Highcharts Selection Event
- Highcharts export menu does not show up fully
- Sql DataReader and Multiple Object Variables
- HIghcharts Treemap Groupby leaf objects at Level 1(Parent) and group by child at Level1(Sub objects)with custom color coding
- pass global variable into jquery function
- Highcharts 2nd yaxis not scaling
- Highchart bullet map plotBackground color always visible
- highchart with dual axis breakpoint and drag point
- highcharts x axis date variable range
- High Chart different color for one column
- Assigning series data to highchart using Java ArrayList
- HighChart - Stacked Bar chart - To show dash line over the bar chart but it is not visible on Left side of the bar
- hierarchy information while using grouped category plugin in highchart
- Highcharts Pie Graph
- Highcharts. Specifiec label
- Highcharts how to only plot if x axis is having value greater than 0?
- Network-graph not getting formatted properly