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:
us...@infra.apache.org



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

Reply via email to