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/02/09 04:44:38 UTC
[GitHub] [echarts] RavalikaP opened a new issue #16479: Unable to access 'getModel' function in typescript
RavalikaP opened a new issue #16479:
URL: https://github.com/apache/echarts/issues/16479
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
1. Create any chart
2. on the chart finish event . I am trying to access
chart.getModel().getComponent('grid')
3. So while running the application we are getting below issue
Property 'getModel' is private and only accessible within class 'ECharts'.
### Current Behavior
It is working as expected but need to make the getModel function as public
### Expected Behavior
It is working as expected but need to make the getModel function as public
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
If any workaround is there to get the component other than getModel function
--
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
[GitHub] [echarts] Ovilia commented on issue #16479: Unable to access 'getModel' function in typescript
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #16479:
URL: https://github.com/apache/echarts/issues/16479#issuecomment-1034421315
Please close this issue if you don't have further questions. Thanks!
@RavalikaP
--
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
[GitHub] [echarts] pissang commented on issue #16479: Unable to access 'getModel' function in typescript
Posted by GitBox <gi...@apache.org>.
pissang commented on issue #16479:
URL: https://github.com/apache/echarts/issues/16479#issuecomment-1033349403
`getModel` is not ready to be public yet. We only suggest using this method when it's the only workaround to solve the issue and you can accept the missing doc and potential breaking change of this method in the future.
--
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
[GitHub] [echarts] pissang edited a comment on issue #16479: Unable to access 'getModel' function in typescript
Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #16479:
URL: https://github.com/apache/echarts/issues/16479#issuecomment-1033349403
`getModel` is not ready to be public yet because it will expose too much internal abstraction. We only suggest using this method when it's the only workaround to solve the issue and you can accept the missing doc and potential breaking change of this method in the future.
--
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
[GitHub] [echarts] pissang edited a comment on issue #16479: Unable to access 'getModel' function in typescript
Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #16479:
URL: https://github.com/apache/echarts/issues/16479#issuecomment-1033349403
`getModel` is not ready to be public yet because it will expose too much internal design. We only suggest using this method when it's the only workaround to solve the issue and you can accept the missing doc and potential breaking change of this method in the future.
--
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