You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by "zhouyating@mastercom.cn" <zh...@mastercom.cn> on 2020/11/09 00:36:19 UTC

Re: Re: 柱状图原点从负开始而不是0

Hi,

It is advised to use English in the mailing list to let more people
understand and help
you faster.

By default, the minimum value of an axis is calculated based on the minimum
of data,
so in your case it's negative. You may set it to 0 by setting `yAxis.min`
to be 0.

Hope that helps.

Thanks

*Ovilia*


On Wed, Oct 28, 2020 at 10:33 PM zhouyating@mastercom.cn <
zhouyating@mastercom.cn> wrote:

> 非常急,就是这个柱状图的y轴能不能不从0开始呀,不知道设置哪个属性呢,求帮助
> ------------------------------
> zhouyating@mastercom.cn
>