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 2021/03/10 16:23:55 UTC

[GitHub] [echarts] tmtron commented on issue #14266: Time Axis is display can overlap in v5

tmtron commented on issue #14266:
URL: https://github.com/apache/echarts/issues/14266#issuecomment-795685550


   Unfortunately the workaround (setting [xAxis.splitNumber](https://echarts.apache.org/en/option.html#xAxis.splitNumber) to 5) does not work for me: see this [example](https://jsfiddle.net/tmtron/2apkvgwy/10/)
   
   Quote from the `splitNumber` docs:   
   >Note that this number serves **only as a recommendation**, and the true segments may be adjusted based on readability.
   
   So I tried [xAxis.interval](https://echarts.apache.org/en/option.html#xAxis.interval):  
   >**Compulsively** set segmentation interval for axis.  
   As splitNumber is a recommendation value, the calculated tick may not be the same as expected. In this case, interval should be used along with min and max to compulsively set tickings.
   
   But this does also not work
   
   Also [xAxis.axisLabel.interval](https://echarts.apache.org/en/option.html#xAxis.axisLabel.interval) had no effect.
   
   Any idea why this is not working in my example?
   


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