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 2020/12/07 10:09:51 UTC
[GitHub] [incubator-echarts] plainheart commented on issue #13776: Get the actual width of xAxis through echartsInstance.
plainheart commented on issue #13776:
URL: https://github.com/apache/incubator-echarts/issues/13776#issuecomment-739816310
Currently, we may get it through the following ways, just for your reference.
```js
echartsInstance.getModel().getComponent('xAxis').axis.getExtent()
```
or
```js
echartsInstance.getModel().getComponent('xAxis').axis.grid.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.
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