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/14 07:20:05 UTC
[GitHub] [echarts] MPetak opened a new issue #16503: [Bug] Custom series doesn't remove previously rendered items any more
MPetak opened a new issue #16503:
URL: https://github.com/apache/echarts/issues/16503
### Version
5.3.0
### Link to Minimal Reproduction
https://codepen.io/m5ak/pen/gOXxBxw
### Steps to Reproduce
We render elements within custom series and when we try to remove some item from chart (for example data:[]) then echarts throws next exception: Uncaught TypeError: Cannot read properties of undefined (reading '__ec_inner_26'),
and items are not removed form chart.
### Current Behavior
We render elements within custom series and when we try to remove some item from chart (for example data:[]) then echarts throws next exception: Uncaught TypeError: Cannot read properties of undefined (reading '__ec_inner_26'),
and items are not removed form chart. Items are just stacked one to another.
### Expected Behavior
Expected is as in previous versions of echarts that element is removed from chart when there is data item of element is not defined.
### Environment
```markdown
- OS:Windows 10 Enterprise 20H2
- Browser: Google Chrome 98.0.4758.82
- Framework:
```
### Any additional comments?
_No response_
--
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] rundleman commented on issue #16503: [Bug] Custom series doesn't remove previously rendered items any more
Posted by GitBox <gi...@apache.org>.
rundleman commented on issue #16503:
URL: https://github.com/apache/echarts/issues/16503#issuecomment-1041409832
Hello! I have the same problem. I am also very surprised by the performance increase in version 5.3.0. It is possible to manually delete old data. For example like this:
` chart.setOption({ series: [] }, {
notMerge: true,
});`
https://codepen.io/rundleman/pen/yLPPzmj
--
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] MPetak commented on issue #16503: [Bug] Custom series doesn't remove previously rendered items any more
Posted by GitBox <gi...@apache.org>.
MPetak commented on issue #16503:
URL: https://github.com/apache/echarts/issues/16503#issuecomment-1042764204
@rundleman Thank you for your response, but that is not solution for then issue, it is just workaround which is unfortunately not acceptable for me. We have downgraded Echarts to version 5.1.1 and I hope that I'll get some response from Echarts owners.
--
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