We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
点击任意legend报错,因为我用了'C',而饼图更新动画中没有考虑'C'的情况
需求是自定义一个圆角的饼环图,画圆角时采用'A'或者'C'
'A'在切换的时候动画会有问题
'C'在切换的时候由于下面代码报错
function getArcStartPoint(path: PathCommand) { let startPoint; if (path[0] === 'M' || path[0] === 'L') { startPoint = [path[1], path[2]]; } else if (path[0] === 'a' || path[0] === 'A') { // path[0] === 'c' || path[0] === 'C' startPoint = [path[path.length - 2], path[path.length - 1]]; } return startPoint; } 希望在这个函数中兼容'C','c'
The text was updated successfully, but these errors were encountered:
fix: getArcStartPoint function support path C (#3213)
2374649
fix: getArcStartPoint function support path C (#3213) (#3300)
0d68ee0
@yujs 确认一下是否合并之后,这个修复了,如果修复了,关闭掉这个 issue 吧。
Sorry, something went wrong.
yujs
No branches or pull requests
Reproduction link
Steps to reproduce
点击任意legend报错,因为我用了'C',而饼图更新动画中没有考虑'C'的情况
需求是自定义一个圆角的饼环图,画圆角时采用'A'或者'C'
'A'在切换的时候动画会有问题
'C'在切换的时候由于下面代码报错
function getArcStartPoint(path: PathCommand) {
let startPoint;
if (path[0] === 'M' || path[0] === 'L') {
startPoint = [path[1], path[2]];
} else if (path[0] === 'a' || path[0] === 'A') {
// path[0] === 'c' || path[0] === 'C'
startPoint = [path[path.length - 2], path[path.length - 1]];
}
return startPoint;
}
希望在这个函数中兼容'C','c'
The text was updated successfully, but these errors were encountered: