-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
5.4.3
Link to Minimal Reproduction
Steps to Reproduce
This is the code I use to display a rectangular plain surface :
option = {
tooltip: {},
backgroundColor: '#fff',
xAxis3D: {
type: 'value'
},
yAxis3D: {
type: 'value',
min: 0,
max: 6
},
zAxis3D: {
type: 'value'
},
grid3D: {
viewControl: {
projection: 'orthographic'
}
},
series: [
{
type: 'surface',
wireframe: {
// show: false
},
data:
[
[0, 3, -8],[0, 3, -7], [0, 3, -6], [0, 3, -5], [0, 3, -4], [0, 3, -3], [0, 3, -2], [0, 3, -1],
[15, 3, -8],[15, 3, -7],[15, 3, -6], [15, 3, -5], [15, 3, -4], [15, 3, -3], [15, 3, -2], [15, 3, -1],
]
}
]
};
Current Behavior
Expected Behavior
When I edit the data-series to:
[0, 3, -7], [0, 3, -6], [0, 3, -5], [0, 3, -4], [0, 3, -3], [0, 3, -2], [0, 3, -1],
[15, 3, -7],[15, 3, -6], [15, 3, -5], [15, 3, -4], [15, 3, -3], [15, 3, -2], [15, 3, -1],
I get a correct rectangular surface:
All I did was deleting the first data in each row:
[0, 3, -8],
[15, 3, -8],
Environment
You can reproduce the issue by pasting the code into the "examples" page on
https://echarts.apache.org/Any additional comments?
Is there any further documentation I overlooked?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.

