echarts 设置了grid.containLabel = true和dataZoom后,调节dataZoom时仍然会出现标签溢出

nfs0ujit  于 5个月前  发布在  Echarts
关注(0)|答案(4)|浏览(61)

Version

4.9.0

https://www.makeapie.com/editor.html?c=x8SDFZLCzi&v=1

Steps to reproduce

稍微拉动dataZoom即可

What is expected?

标签与dataZoom不出现重叠

What is actually happening?

稍微拉动dataZoom,标签与dataZoom出现重叠,再继续拉动,重叠现象会消失。

mqkwyuun

mqkwyuun1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

zd287kbt

zd287kbt3#

标签重叠指的是顶部蓝色的文字还是底部黑色的文字?

1tuwyuhd

1tuwyuhd4#

@Ovilia
底部x轴黑字,顶部蓝字实际上在我的组件里我自己formatter间隔显示了。
上边发了俩图,详细情况是我设置了grid.containLabel: true,并且指定了grid的height和位置,也指定了dataZoom的slider的位置,但在我拖动slider时,仍然会有出现label跟slider重叠的情况。

相关问题