Closed
Description
Version
1.13.12
Link to Minimal Reproduction
null
Steps to Reproduce
const spec = {
type: 'funnel',
categoryField: 'name',
valueField: 'value',
isTransform: true,
isCone: false,
data: [
{
id: 'funnel',
values: [
{
value: 5676,
name: 'Sent'
},
{
value: 3872,
name: 'Viewed'
},
{
value: 1668,
name: 'Clicked'
},
{
value: 610,
name: 'Add to Cart'
},
{
value: 565,
name: 'Purchased'
}
]
}
],
title: {
visible: true,
text: 'Percentage of the customers have dropped from the sales process'
},
label: {
visible: true
},
transformLabel: {
visible: true,
animation: {
increaseEffect: false
}
},
outerLabel: {
position: 'right',
visible: true
},
legends: {
visible: true,
orient: 'top'
}
};
const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();
// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
Current Behavior
来回切换图例,标签增长动画有问题;
所以期望关闭增长动画,但配置label.animation.increaseEffect: false不生效
用的漏斗图做验证:
Expected Behavior
label.animation.increaseEffect: false生效
或者 数值增长动画不出现长字符串问题
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response