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 2021/11/30 12:42:58 UTC
[GitHub] [echarts] banli17 opened a new issue #16143: [Bug] After setting the bar border, before the animation, the border is already displayed
banli17 opened a new issue #16143:
URL: https://github.com/apache/echarts/issues/16143
### Version
5.2.2
### Link to minimal reproduction
_No response_
### Steps To Reproduce
1. open https://echarts.apache.org/examples/zh/editor.html?c=bar-animation-delay
2. paste code
```
var xAxisData = [];
var data1 = [];
var data2 = [];
for (var i = 0; i < 100; i++) {
xAxisData.push('A' + i);
data1.push((Math.sin(i / 5) * (i / 5 - 10) + i / 6) * 5);
data2.push((Math.cos(i / 5) * (i / 5 - 10) + i / 6) * 5);
}
option = {
title: {
text: 'Bar Animation Delay'
},
legend: {
data: ['bar', 'bar2']
},
toolbox: {
// y: 'bottom',
feature: {
magicType: {
type: ['stack']
},
dataView: {},
saveAsImage: {
pixelRatio: 2
}
}
},
tooltip: {},
xAxis: {
data: xAxisData,
splitLine: {
show: false
}
},
yAxis: {},
series: [
{
name: 'bar',
type: 'bar',
data: data1,
itemStyle: {
borderColor: 'red',
borderWidth: 2,
borderType: 'solid',
},
emphasis: {
focus: 'series'
},
animationDelay: function (idx) {
return idx * 10;
}
}
],
animationEasing: 'elasticOut',
animationDelayUpdate: function (idx) {
return idx * 5;
}
};
```
### Current Behavior
before the animation, the border is already displayed
![Uploading image.png…]()
### Expected Behavior
before the animation, the border is hidden
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] pissang edited a comment on issue #16143: [Bug] After setting the bar border, before the animation, the border is already displayed
Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #16143:
URL: https://github.com/apache/echarts/issues/16143#issuecomment-983199700
Yes the animation is from height: 0 to height: original. In the status of height: 0 before animation start. The border will still be displayed.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] pissang commented on issue #16143: [Bug] After setting the bar border, before the animation, the border is already displayed
Posted by GitBox <gi...@apache.org>.
pissang commented on issue #16143:
URL: https://github.com/apache/echarts/issues/16143#issuecomment-983199700
Yes the animation is from height: 0 to height: original. In the status of height: 0. The border will still be displayed.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org