Version
4.2.1
Steps to reproduce
//三维柱状图
TwoCourseOption3D = {
tooltip: {},
toolbox: {
'show': true,
'feature': {
'saveAsImage': {},
}
},
xAxis3D: {
type: 'category',
name: "课程1",
data: []
},
yAxis3D: {
type: 'category',
name: "课程2",
data: []
},
zAxis3D: {
type: 'value',
name: "人数"
},
grid3D: {
boxWidth: 200,
boxDepth: 80,
light: {
main: {
intensity: 1.2
},
ambient: {
intensity: 0.3
}
}
},
series: [{
type: 'bar3D',
data: [],
shading: 'color',
label: {
formatter: '{c}'
},
itemStyle: {
opacity: 0.4
},
}]
}
What is expected?
图表显示出来
What is actually happening?
图表不能看到,但是鼠标点上去,好像是存在的。保存的图片也是正确的。
Version
4.2.1
Steps to reproduce
//三维柱状图
TwoCourseOption3D = {
tooltip: {},
toolbox: {
'show': true,
'feature': {
'saveAsImage': {},
}
},
xAxis3D: {
type: 'category',
name: "课程1",
data: []
},
yAxis3D: {
type: 'category',
name: "课程2",
data: []
},
zAxis3D: {
type: 'value',
name: "人数"
},
grid3D: {
boxWidth: 200,
boxDepth: 80,
light: {
main: {
intensity: 1.2
},
ambient: {
intensity: 0.3
}
}
},
series: [{
type: 'bar3D',
data: [],
shading: 'color',
}
What is expected?
图表显示出来
What is actually happening?
图表不能看到,但是鼠标点上去,好像是存在的。保存的图片也是正确的。