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
如题,因不可直接设置 triggerOn: 'click' 触发 onclick 事件,于是设置了 touch end, 但是短距离滑动的时候会触发 touchend,怎么解决? chart.pieLabel({ // @ts-ignore labelCfg: function (data, color) { return { text: showValue ? ${data.type} ${data.value}% : data.type, }; }, onClick(e) { let { data } = e; _this.props.onTabPieCate(data); }, triggerOn: 'touchend', });
${data.type} ${data.value}%
The text was updated successfully, but these errors were encountered:
您好,请问这个问题解决了吗 我也遇到了在小程序里需要点击事件做相应操作
Sorry, something went wrong.
No branches or pull requests
如题,因不可直接设置 triggerOn: 'click' 触发 onclick 事件,于是设置了 touch end, 但是短距离滑动的时候会触发 touchend,怎么解决?
chart.pieLabel({
// @ts-ignore
labelCfg: function (data, color) {
return {
text: showValue ?
${data.type} ${data.value}%
: data.type,};
},
onClick(e) {
let { data } = e;
_this.props.onTabPieCate(data);
},
triggerOn: 'touchend',
});
The text was updated successfully, but these errors were encountered: