echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echarts bar中当value值为0时,怎么设置能让它显示出来,而不是空白

Open 61-113 opened this issue 11 years ago • 5 comments

echarts bar中当value值为0时,怎么设置能让它显示出来,而不是空白,那样不太好看

61-113 avatar Sep 06 '15 08:09 61-113

本来就是0,在Y轴上表示出来的就是没有了。如果为了好看,你可以给0的数据设置成0.1这样的形式,或者其它的方案来,我想是可以的

chenPengXu avatar Sep 06 '15 12:09 chenPengXu

你可以在为 0 的数据处放个 markPoint

pissang avatar Sep 06 '15 15:09 pissang

楼上的方案我用过,嘿嘿

chenPengXu avatar Sep 07 '15 02:09 chenPengXu

放个图看看

xfworld avatar Sep 07 '15 02:09 xfworld

没有特别好的方法,对0值加一个mark point觉得比较直观。 你也看看别的库怎么实现。

stanleyxu2005 avatar Sep 14 '15 16:09 stanleyxu2005