antvis/G2

堆叠条形图axis下的label被遮挡 #3498

Fitz-Wen posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://3h0kb.csb.app/

Steps to reproduce

axis的label被遮挡

Environment Info
g2 4.1.19
System -
Browser -

image image

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


下面这个图的 label 不是没有被遮挡吗?自己解决问题了吗?

chart.axis('x-field', { top: true });

设置 top = true,可以让 axis 的内容绘制在图形的上层,防止被覆盖。

posted by hustcc over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests