我正在使用3D選項啓用分散類型高圖,現在我想用兩種不同顏色(紅色和藍色)對內部3d區域着色。所以我的問題是 1.如何填充3d區域內的顏色? 2.如果填充,如何將內部3d區域分成兩部分並添加兩種不同的顏色?如何在高圖表中添加3d圖表中的顏色
我的代碼是
var chartClassification = new Highcharts.Chart({
chart: {
renderTo: 'containerClassification',
margin: 20,
type: 'scatter',
options3d: {
enabled: true,
alpha: 10,
beta: 30,
depth: 250,
viewDistance: 5,
fitToPlot: false,
frame: {
bottom: { size: 10, color: 'rgba(0,0,0,0.02)' },
back: { size: 100, color: 'rgba(0,0,0,0.04)' },
side: { size: 1, color: 'rgba(0,0,0,0.06)' }
}
}
},
title: {
text: 'Classification'
},
plotOptions: {
scatter: {
width: 10,
height: 10,
depth: 10
}
},
yAxis: {
min: 0,
max: 10,
title: null
},
xAxis: {
min: 0,
max: 10,
gridLineWidth: 1
},
zAxis: {
min: 0,
max: 10,
showFirstLabel: false
},
legend: {
enabled: false
},
series: [{
name: 'Reading',
color: 'black',
data: []
}]
});
你能爲此創建小提琴/演示嗎?也請將圖表/繪圖的樣本圖像作爲您想要的圖表的預期輸出。 – TechnoCrat