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/10/21 03:45:58 UTC

[GitHub] [incubator-echarts] GangLx opened a new issue #13462: 可是我设置了barMinHeight高度为1,应该第一个 series应该显示一点点

GangLx opened a new issue #13462:
URL: https://github.com/apache/incubator-echarts/issues/13462


   > 感觉这不是 bug,scale了,y轴起点在 66,所以第一个 series没有出现。
   
   可是我设置了barMinHeight高度为1,应该第一个 series应该显示一点点
   
   _Originally posted by @GangLx in https://github.com/apache/incubator-echarts/issues/13461#issuecomment-713275060_


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


[GitHub] [incubator-echarts] GangLx commented on issue #13462: 可是我设置了barMinHeight高度为1,应该第一个 series应该显示一点点

Posted by GitBox <gi...@apache.org>.
GangLx commented on issue #13462:
URL: https://github.com/apache/incubator-echarts/issues/13462#issuecomment-713279432


   目前看来这个方法不对
   function getValueAxisStart(baseAxis, valueAxis, stacked) {
   return valueAxis.toGlobalCoord(valueAxis.dataToCoord(valueAxis.type === 'log' ? 1 : 0));
   }
   
   4.1版本是这么写的
   function getValueAxisStart(baseAxis, valueAxis, stacked) {
   return (
   indexOf(baseAxis.getAxesOnZeroOf(), valueAxis) >= 0
   || stacked
   )
   ? valueAxis.toGlobalCoord(valueAxis.dataToCoord(0))
   : valueAxis.getGlobalExtent()[0];
   }


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


[GitHub] [incubator-echarts] GangLx edited a comment on issue #13462: 可是我设置了barMinHeight高度为1,应该第一个 series应该显示一点点

Posted by GitBox <gi...@apache.org>.
GangLx edited a comment on issue #13462:
URL: https://github.com/apache/incubator-echarts/issues/13462#issuecomment-713279432


   目前看来这个方法不对
   function getValueAxisStart(baseAxis, valueAxis, stacked) {
   return valueAxis.toGlobalCoord(valueAxis.dataToCoord(valueAxis.type === 'log' ? 1 : 0));
   }
   
   4.1正常的版本是这么写的
   function getValueAxisStart(baseAxis, valueAxis, stacked) {
   return (
   indexOf(baseAxis.getAxesOnZeroOf(), valueAxis) >= 0
   || stacked
   )
   ? valueAxis.toGlobalCoord(valueAxis.dataToCoord(0))
   : valueAxis.getGlobalExtent()[0];
   }


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


[GitHub] [incubator-echarts] plainheart closed issue #13462: 可是我设置了barMinHeight高度为1,第一个 series应该显示一点点高度

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #13462:
URL: https://github.com/apache/incubator-echarts/issues/13462


   


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