Skip to content
New issue

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

没有手指点击图标显示提示框的功能吗? #44

Closed
RikaLuo opened this issue Mar 9, 2018 · 2 comments
Closed

没有手指点击图标显示提示框的功能吗? #44

RikaLuo opened this issue Mar 9, 2018 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@RikaLuo
Copy link

RikaLuo commented Mar 9, 2018

简单描述问题:

例如柱状图,web端是鼠标移动上去,会显示相应的提示。
期望的是微信小程序能在手势触摸能显示相应的提示。
我有添加:

tooltip: {
   trigger: 'axis',
   axisPointer: {            // 坐标轴指示器,坐标轴触发有效
     type: 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
   },
   formatter: function (e) {
     // return e.data.displayname;
     return 'hello';
   },
   triggerOn: 'click'
 },

但是测试后并没有反应

预期效果:

image

实际效果:

image

@RikaLuo
Copy link
Author

RikaLuo commented Mar 9, 2018

希望有知道的能帮忙,谢谢了

@Ovilia
Copy link
Member

Ovilia commented Mar 9, 2018

#4

@Ovilia Ovilia added the duplicate This issue or pull request already exists label Mar 9, 2018
@Ovilia Ovilia closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants