You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/04/18 05:55:37 UTC

[GitHub] [echarts] plainheart commented on issue #16898: How to get Grid rect size?

plainheart commented on issue #16898:
URL: https://github.com/apache/echarts/issues/16898#issuecomment-1101118927

   Currently, there is no public method to get the size of the grid. But you can try to get it via the following way if you have to.
   
   ```js
   const gridRect = chart.getModel().getComponent('grid').coordinateSystem.getRect();
   ```


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