I need to set the background of the xaxis bar (the whole bar, not the particular label).
By checking the api doc, it seems only limited properties are supported.
I am trying the following options
https://api.highcharts.com/highstock/xAxis.labels.style
xAxis.labels.style
CSS styles for the label. Use whiteSpace: 'nowrap' to prevent wrapping of category labels. Use textOverflow: 'none' to prevent ellipsis (dots).
In styled mode, the labels are styled with the .highcharts-axis-labels class.
See also:
Highcharts.CSSObject
color: string
Defaults to #666666.
cursor: string
Defaults to default.
fontSize: string
Defaults to 11px.
Maybe there is other option I should use? Any sample code will be appreciated. Thanks.