foolzhang commented on a change in pull request #11186: FIX #11176 xAxis.axisTick.interval appears different between echart4 and echart3.8 URL: https://github.com/apache/incubator-echarts/pull/11186#discussion_r335375307
########## File path: src/coord/Axis.js ########## @@ -197,7 +197,8 @@ Axis.prototype = { }, this); var alignWithLabel = tickModel.get('alignWithLabel'); - var tickLen = this.scale.getTicks().length; + var dataExtent = this.scale.getExtent(); + var tickLen = this.scale.getTicks().length + dataExtent[0]; Review comment: major changes ---------------------------------------------------------------- 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 With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org