You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2026/02/21 21:24:53 UTC

Re: [I] Rotate + Inverse yAxis break grid calculation [echarts]

helgasoft commented on issue #21454:
URL: https://github.com/apache/echarts/issues/21454#issuecomment-3939529091

   The two reasons for the gap are ```grid.outerBoundsMode:'auto'``` and ```axisLabel:{rotate:45}``` with long labels.
   The chart is set to always display the long axis labels regardless of vertical size. That's why it reserves and shows extra space on the bottom (gap).
   There are two solutions: either truncate long axis labels, OR set ```grid.outerBoundsMode:'none'``` and expand ```grid.left``` side - [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-y-category&code=1VTfb9MwEH7fX3ESQnmJWJxktA3ioSsCIYE0CSEmTX1wF5NaGF_lOFvKtP-d84-kFFo0Jl7ml9z5vu-7s30X3FiJGl7D3QmAlVaJypvkiN5WkHxBo2q4wE2nuIMmFLxPHRhRWbkZ4UY2jTDE4L1sE4cAcOYFSm1dIOAIud1QkqRd8xpvnRwJDqKNkXUVgKen2BHvHDtdtx-xdhzeWYzSfwY1ahGDSnx1tednz-NGu8bbyppOBHfFr781xpEXqNBUybO3kzdsMR8P18-p8vFooeAbrrohwcpxudm-43QBV1kK2YuMLQf29gD7mlvRoNlGgZpbTszk3PAfUiUpJO91TQdoJXfO50_zS7f6AyuP6IBcrKUGj_XL7_k3CzJ90LkENrKC6XjRDE_MjuaiYmCXNJiB7s1AP8J-TJ5fMv5uxBLiYf-pkqjx9xt9pPKT4y5DF0p9I0xL7bkbDTeyH_hKqOoODFrq2qo82w1oK4wU1NtXHjyMtObfXY_nGaOH3h_zFTfjVmx6Ns2zIoW8KKcz-syyokyBZeVsQoPECjYpy_RlkeUFuZOHRKf7UZj5MKTwIJxTzw6mGfj_SWbfP-oy77ufib9z-i5P7l_9BA&enc=deflate)
   <img width="845" height="261" alt="Image" src="https://github.com/user-attachments/assets/52821a9d-874b-4c50-9b21-a333b4de42ea" />
   


-- 
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-unsubscribe@echarts.apache.org

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