You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/06/01 01:31:49 UTC

[GitHub] [incubator-echarts] TRSK-CONMI commented on issue #12626: 【渲染问题】【柱状图】在数据间隔比较小的时候没有问题,但数据间隔为1的时候就有问题了

TRSK-CONMI commented on issue #12626:
URL: https://github.com/apache/incubator-echarts/issues/12626#issuecomment-636568361


   > @TRSK-CONMI
   > (A) 不设置 `yAxis.scale: false` 。因为如果 `yAxis.scale: false` 则柱状图不从零点开始,这对于柱状图来说往往是可能引起误导的可视化方式。
   > (B) 如果确实要设置 `yAxis.scale: true` 那么可以选择不使用柱状图,而使用 scatter 之类。
   > (C) 如果确实要设置 `yAxis.scale: true` 且要使用柱状图,那么可以设置 [yAxis.min](https://echarts.apache.org/zh/option.html#yAxis.min) 和 [yAxis.max](https://echarts.apache.org/zh/option.html#yAxis.max) 调节 y 轴的显示范围。
   
   你好,100pah。
   我在API中没找到“scale”相关的内容,然后百度了一下。发现“scale设置为true后,坐标刻度不会强制包含零刻度。(注意:只在数值轴中(type:'value')中有效)”(网页:https://blog.csdn.net/hao_0420/article/details/81188714)
   scale和yAxis.min/yAxis.max这本身的设计是不是一个冲突?
   或者说是为了出现BUG的时候可以更底层地调用来解决?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org