100pah commented on issue #9977: Add option to hide duplicate axis labels
URL: 
https://github.com/apache/incubator-echarts/pull/9977#issuecomment-466805829
 
 
   Thanks @ClemMakesApps .
   But I am sorry that I prefer not add this `hideDuplicates` option, because 
it seems to be less of general applicability and does not resolve #9896 
straightforward.
   
   I think the requirement in #9896 should better to be resolved by either:
   + Customize `axisLabel.formatter` like 
<https://jsfiddle.net/ovilia/k1bsuteo/6/> did. Probably it can be enhanced a 
bit by providing index as the parameter of the function "formatter" to make it 
easy.
   + Support more powerful label strategy for "time" axis. For example, make it 
do better when showing labels of only day/week/month/year in proper positions 
(e.g. the first time tick of the duration) and without duplication.
   
   What your opinion @Ovilia ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to