Version
5.2.2
Link to Minimal Reproduction
Steps to Reproduce
option = {
xAxis: {
type: 'value'
},
yAxis: {
type: 'value'
},
series: [
{
data: [
[12, 3],
[15, 50],
[20, 30],
[100, 50]
],
type: 'line'
}
],
dataZoom: {
startValue: 20
}
};
Current Behavior
The detail view in the dataZoom is not the same as the data in range. You can see that the max value is still in the detail view of the dataZoom (wrong) but not in the chart visible area (correct).
Expected Behavior
The detail view should be the same as the chart area.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
Similar problems exists when data is not in the ascending order in xAxis (e.g., [100, 10], [50, 20]).
5条答案
按热度按时间xurqigkl1#
It seems that the detail view of dataZoom is evenly divided by 4, which is equal to series.data.length.
btqmn9zl2#
I'm fixing this. :) @tyn1998
kcrjzv8t3#
I'm fixing this. :)
@Ovilia, does this issue partially overlap my old issue 17122 ?
gblwokeq4#
Any update on this?
t5fffqht5#
Any updates on this? I'm facing the same issue