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 #8790

Closed
cnxzq opened this issue Aug 1, 2018 · 1 comment
Closed

柱状图bug #8790

cnxzq opened this issue Aug 1, 2018 · 1 comment
Labels
stale Inactive for a long time. Will be closed in 7 days.

Comments

@cnxzq
Copy link

cnxzq commented Aug 1, 2018

One-line summary [问题简述]

当第二个yAxis配置了最小值不为0时,与其关联的bar元素绘制的时候不会从0开始,而是从最小值开始。

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:4.1.0.rc2
  • Browser version [浏览器类型和版本]:chrome 66
  • OS Version [操作系统类型和版本]:win10

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {
    title: {
        text: '柱状图bug'
    },
    xAxis: {
        data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
    },
    yAxis: [{
        min:-100
    },{
        min:-100
    }],
    series: [{
        type: 'bar',
        data:[220, 182, 191, 234, 290, 330, 310]
    },{
        type: 'bar',
        yAxisIndex:1,
        data:[220, 182, 191, 234, 290, 330, 310]
    }]
}

Other comments [其他信息]

@stale
Copy link

stale bot commented Aug 1, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive for a long time. Will be closed in 7 days. label Aug 1, 2020
@stale stale bot closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

1 participant