echarts Y axis not displayed if canvas is smaller 150px

iyfjxgzm  于 2022-10-26  发布在  Echarts
关注(0)|答案(3)|浏览(249)

Version

5.0.2

Steps to reproduce

When I set the height to 300px all is correctly displayed but when I reduce the height to 150px nothinf is displayed for Y Axis.

I happens for vertical and horizontal bar charts

What is expected?

See the data in Y axis

What is actually happening?

Nothing is displayed

6rqinv9w

6rqinv9w1#

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 thatyou 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! 🍵

iswrvxsc

iswrvxsc3#

Set a smaller the grid.top and grid.bottom in your option.

相关问题