Skip to content

3D曲面中关于列数必须是质数的现象 #13939

Description

@gaopengpian

我的目的是为了创建一个三维中的时间切片曲线。代码如下:
`
option = {
tooltip: {},
xAxis3D: {
type: 'time'
},
yAxis3D: {
type: 'value'
},
zAxis3D: {
type: 'value'
},
grid3D: {
viewControl: {
// projection: 'orthographic'
}
},
series: [{
type: 'surface',
data:[
// 经测验,每行列数 17, 13,11,7,5,4,3,2 才能正常显示。
// 第一行
[Date.now(),0,0],
[Date.now(),1,0],
[Date.now(),2,0],
[Date.now(),3,0],
[Date.now(),4,0],
[Date.now(),5,0],
[Date.now(),6,0],
[Date.now(),7,0],
[Date.now(),8,0],
[Date.now(),9,0],
[Date.now(),10,0],
[Date.now(),11,0],
[Date.now(),12,0],

        // 第二行  
          [Date.now(),0,10],
          [Date.now(),1,1],
          [Date.now(),2,5],
          [Date.now(),3,10],
          [Date.now(),4,10],
          [Date.now(),5,12],
          [Date.now(),6,8],
          [Date.now(),7,10],
          [Date.now(),8,20],
          [Date.now(),9,10],
          [Date.now(),10,10],
          [Date.now(),11,30],
          [Date.now(),12,10],
    ]
}

]
}

`
经测验,每行列数 17, 13,11,7,5,4,3,2 才能正常显示,其他列数都会出现异常重叠的情况,这是为什么。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions