pix*_*lds 4 javascript css charts highcharts highstock
在此先感谢您的时间和帮助.
我正在使用highcharts并且需要设置仅x和y轴的背景颜色.见附件:

所以我需要的是在x轴上设置一个不同于图表深灰色的背景颜色(现在它们显然是相同的)
有谁知道这是否可能,如果有的话,怎么去呢?我已经广泛地使用了highcharts API Highstock API,但是找不到任何具体的内容.
再次感谢您的时间和帮助!
丰富
你试过了吗:
Run Code Online (Sandbox Code Playgroud)rendered a rectangle and positioned it to the bottom of the graph.
chart.renderer.rect(0/*position on X-axis*/, 275/*position on Y-axis*/, 680/*width*/ , 25/*height*/, 00)
.attr({
'stroke-width': 0,
stroke: '#888888',
fill: '#888888',
zIndex: 3
})
.add();
Run Code Online (Sandbox Code Playgroud)
阅读更多: highchart renderer
x-asis没有backgroundColor 将背景颜色设置为HighChart xAxis标签
希望这有帮助.