ob-ARC commented on issue #19036:
URL: https://github.com/apache/echarts/issues/19036#issuecomment-1698737817

   > @ob-ARC Let's say if you can control the splits with splitNumber with time 
axis and it start value of the axis is `10:00:12` and the end value is 
`13:00:47`. If you set the `splitNumber` to be 4 and you expect it to split 
evenly, the labels will be `10:00:12`, `11:00:23 667`, `12:00:35 333`, 
`13:00:47`, which are not whole numbers. This is why you cannot use 
`splitNumber` to force splitting. Although Apache ECharts is not perfect with 
time axis labels, this is what we could offer now. BTW, ECharts is an open 
source project and if you have a solid plan of how time axis should behave, you 
are welcomed to contribute.
   
   In your example, I would expect that the algorithm somehow detects that 
start/stop of the axis is off the user-expected grid (in a range of 3 hours I 
would assume that only multiples of whole minutes actually matter to the user 
with regards to labelling). 


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

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

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