100pah commented on issue #9977: Add option to hide duplicate axis labels
URL: 
https://github.com/apache/incubator-echarts/pull/9977#issuecomment-476825523
 
 
   So sorry for the late reply.
   
   I think it is not good enough solution to only labels are hidden but still 
keep ticks showing. The strategies of label and tick are so complicated that 
we'd better think this through before modifying it and make the logic neat as 
far as possible.
   
   > 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.
   
   Currently in `/src/scale/Time.js` the `niceTicks` only approximate interval 
by the `interval` settings.
   I think we might provide a new option (or enhance the existing options)  for 
users to specify a fixed `scaleLevel` and enable a callback to determine the 
`scaleLevel` directly by the current axis extent. But the format of the options 
I need to do some investigation. I will do it soon and give a proposal here.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to