You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/10 11:34:17 UTC

[GitHub] xerxes3117 edited a comment on issue #9723: xAxis rotate unhides the axis labels only on small window size

xerxes3117 edited a comment on issue #9723: xAxis rotate unhides the axis labels only on small window size
URL: https://github.com/apache/incubator-echarts/issues/9723#issuecomment-453064557
 
 
   > Does this example fit your scenario?
   > https://gallery.echartsjs.com/editor.html?c=xbDq1UoC5j&v=1
   > 
   > If so, this problem has been fixed in 4.1.0+ .
   
   Thanks for the reply. 
   I tried testing my code in the editor link that you provided ([https://gallery.echartsjs.com/editor.html?c=xbDq1UoC5j&v=1](url)). 
   However, the issue still persists. Try adding my option code (in my question) in the editor, you'll notice that labels are still hidden (something similar to case 1 picture). However, if you reduce the width of the charts container it starts working at a certain width.
   I think the issue comes when we use setTimeout. If I set the rotation initially in my options, it works perfectly. However, i need to change the rotation later in my code so I have to use setTimeout.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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