我尝试为每个步骤yAxis3D定义一种颜色没有成功 不管价值。我举了以下示例:https://ecomfe.github.io/echarts-examples/public/editor.html?c=bar3d-punch-card&gl=1
series: [{
type: 'bar3D',
data: data.map(function (item) {
return {
value: [item[1], item[0], item[2]],
itemStyle: { color: 'green' } // not working
}
}),
itemStyle: {
opacity: 1,
},
label: {
textStyle: {
fontSize: 16,
borderWidth: 1
}
},
emphasis: {
label: {
normal: {
show: false,
},
textStyle: {
fontSize: 20,
color: '#900'
}
},
}
}]