-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Strange dataZoom behaviour in polar coordinate system #14261
Copy link
Copy link
Open
Labels
Milestone
Description
Version
4.6.0
also reproduced on 5.0.2
Steps to reproduce
- First render chart with those options
option = {
animation: false,
angleAxis: {
type: 'category',
data: ['S1', 'S2', 'S3', 'S4', 'S5', 'S6']
},
dataZoom: {
type: "inside",
filterMode: "none",
radiusAxisIndex: 0,
startValue: 0,
endValue: 15
},
radiusAxis: {
min: 0,
max: 15
},
polar: {
},
series: [{
type: 'line',
data: [2, 2, 2, 2, 2, 2, 2],
coordinateSystem: 'polar',
name: 'A',
itemStyle: {
color: "blue"
}
},
{
type: 'line',
data: [4, 4, 4, 4, 4, 4, 4],
coordinateSystem: 'polar',
name: 'B',
itemStyle: {
color: "red"
}
},
{
type: 'line',
data: [6, 6, 6, 6, 6, 6, 6],
coordinateSystem: 'polar',
name: 'C',
itemStyle: {
color: "green"
}
}],
legend: {
show: true,
data: ['A', 'B', 'C']
}
};
- Now update dataZoom startValue to 8
What is expected?
Lines should not be reversed, but cropped.
What is actually happening?
Lines are actually rendering in inverse order, blue curve get bigger than red and green curve.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.