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/01/06 03:20:07 UTC

[GitHub] [incubator-echarts] pissang commented on issue #11964: boundaryGap: [percent, percent] is not forced strictly

pissang commented on issue #11964: boundaryGap: [percent, percent] is not forced strictly
URL: https://github.com/apache/incubator-echarts/issues/11964#issuecomment-570988331
 
 
   Hi, the ticks will be calculated to be nice numbers after added `boundaryGap`. So the `boundaryGap` is not an accurate value by default. If you want them to be accurate.  Try:
   ```js
   xAxis: {
     min: 'dataMin',
     max: 'dataMax'
   }
   ```
   
   I'm not sure what's your purpose of using `boundaryGap`. For the bar chart. I will suggest you use `category` type axis.

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


With regards,
Apache Git Services

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