You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/09/02 09:48:03 UTC
[GitHub] [incubator-echarts] webzsp opened a new issue #11153: 3d曲面图surface中service对数据有什么要求么,为什么图形不显示
webzsp opened a new issue #11153: 3d曲面图surface中service对数据有什么要求么,为什么图形不显示
URL: https://github.com/apache/incubator-echarts/issues/11153
### Version
4.2.1
### Steps to reproduce
var data=[
[
2.04856,
1.2582,
443.7562466999407
],
[
2.14856,
1.2582,
403.4701047000658
],
[
2.24856,
1.2582,
403.4701047000658
],
[
2.34856,
1.2582,
392.2627760999684
],
[
2.44856,
1.2582,
405.3777350999579
],
[
2.54856,
1.2582,
394.93596870006786
],
[
2.64856,
1.2582,
387.87648120005645
],
[
2.74856,
1.2582,
383.4337104000017
],
[
2.84856,
1.2582,
380.99269650002947
]
]
option = {
tooltip: {},
backgroundColor: '#fff',
visualMap: {
show: true,
dimension: 2,
min: -1,
max: 400,
inRange: {
color: ['#313695', '#4575b4', '#74add1', '#abd9e9', '#e0f3f8', '#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026']
}
},
xAxis3D: {
type: 'value'
},
yAxis3D: {
type: 'value'
},
zAxis3D: {
type: 'value'
},
grid3D: {
viewControl: {
// projection: 'orthographic'
}
},
series: [{
type: 'surface',
wireframe: {
// show: false
},
data:data,
itemStyle:{
color:'#ccc'
}
}]
}
### What is expected?
出现图形
### What is actually happening?
空白
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org