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

坐标系coord设置问题 #234

Closed
ZiQiangWang opened this issue Aug 12, 2018 · 2 comments · Fixed by #237
Closed

坐标系coord设置问题 #234

ZiQiangWang opened this issue Aug 12, 2018 · 2 comments · Fixed by #237
Assignees
Labels

Comments

@ZiQiangWang
Copy link

  • F2 Version: 3.1.18
  • Platform: mac
  • Mini Showcase(like screenshots):
  • CodePen Link:

我在参考下面的例子,写横向柱状图
http://antv.alipay.com/zh-cn/f2/3.x/demo/bar/bar-with-label.html
同时,基于文档设置coord
http://antv.alipay.com/zh-cn/f2/3.x/tutorial/coordinate.html

文档中提供这样两种方式设置

chart.coord('coordType'); // 声明坐标系类型

chart.coord('coordType', {
  // 配置
}); // 声明坐标系类型的同时,声明配置项

但是例子中是这样写的

chart.coord({
  transposed: true
});

当我使用下面的写法时:

chart.coord('rect', {
  transposed: true
});

坐标系转置虽然生效,但是柱状图没有选中效果:
image

理想状态应该是这个样子:
image

@simaQ simaQ self-assigned this Aug 12, 2018
@simaQ simaQ added the bug label Aug 12, 2018
simaQ added a commit that referenced this issue Aug 12, 2018
fix: fix the problem that tooltipMarker not show. Closed #234.
@simaQ
Copy link
Contributor

simaQ commented Aug 12, 2018

你好,非常感谢反馈。我已经在 3.1.19 版本修复了,辛苦升级下啦~~~

@ZiQiangWang
Copy link
Author

解决啦,多谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants