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

[Bug] 柱状图 log 对数轴下,barMinHeight 不生效 #20537

Open
shushu2013 opened this issue Nov 23, 2024 · 2 comments
Open

[Bug] 柱状图 log 对数轴下,barMinHeight 不生效 #20537

shushu2013 opened this issue Nov 23, 2024 · 2 comments
Labels
bug pending We are not sure about whether this is a bug/new feature.

Comments

@shushu2013
Copy link

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=bar-simple

Steps to Reproduce

option = {
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'log'
  },
  series: [
    {
      data: [10, 200, 150, 80, 70, 110, 13],
      type: 'bar',
      barMinHeight: 90,
    }
  ]
};

配置如上,yAxis 类型为 log,barMinHeight 无效

Current Behavior

yAxis 类型为 log,barMinHeight 无效

Expected Behavior

yAxis 类型为 log,barMinHeight 生效

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@shushu2013 shushu2013 added the bug label Nov 23, 2024
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Nov 23, 2024
Copy link

echarts-bot bot commented Nov 23, 2024

@shushu2013 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] barMinHeight does not take effect on the logarithmic axis of the histogram log

@helgasoft
Copy link

bug confirmed. If the goal is to see the smallest data value, then adjust yAxis.min like yAxis: { type:'log', min:1 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants