我想在3d图表中更改yAxis上的颜色,例如:
http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/3d-scatter-draggable/
如果我在Yaxis中添加以下内容:
lineColor: '#ff0000'但颜色没有变。为什么?
发布于 2015-02-01 09:29:46
您应该在options3d.frame中更改side的颜色以更改yAxis颜色:
frame: {
bottom: { size: 1, color: 'rgba(0,0,0,0.02)' },
back: { size: 1, color: 'rgba(0,0,0,0.04)' },
side: { size: 1, color: 'rgba(255,0,0,0.15)' }
}然后,您可以使用alternateGridColor有两种颜色,也可以玩不透明的底部,背面和侧面。这是演示
编辑:
您还可以像这样使用plotBands:
plotBands: [{
color: '#FCFFC5',
from: 0,
to: 2.5
}]演示
https://stackoverflow.com/questions/28252926
复制相似问题