Add ability to remove part of the series' data
See original GitHub issueHi there, first off what a great library thank you very much for it!
As I am streaming a lot of data into my chart I need to remove old data items for performance reasons.
I am currently doing this by calling setData
on each render pass.
I know that this process could be optimised so my feature suggestion is to add a removeData
method to the DataUpdatesConsumer
and series API.
I’ll have a crack it myself when I have some time to learn how to debug TS 😃
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Change the data series in a chart - Microsoft Support
Edit or rearrange a series ... Right-click your chart, and then choose Select Data. ... Click Edit, make your changes, and click OK....
Read more >Remove part of the legend - Microsoft Power BI Community
Solved: Hallo, is there a possibility to remove only parts of the legend? I have the following diagram: and would like to remove...
Read more >Adding, Deleting and Updating Records Part 3 Power Apps for ...
In the part 3 video we take a look at how you can use a Microsoft Power App to Add, Edit and Delete...
Read more >Remove Digits or Keep them in Power BI Using Power Query
There are a couple of useful actions that help a lot in cleaning data ; removing digits, or keeping digits and removing everything...
Read more >Edit or delete a recording in Voice Memos on iPhone
In the Voice Memos app , you can use the editing tools to fine-tune your recordings. You can remove parts you don't want,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Since this ticket was opened we improved updating the data (both setData and update) a lot so probably now you can use any of them to update the data or to implement a strategy of having only a few bars on the chart without performance issues. Let me know if you’re still experiencing the issue or have anything to add here.
ended up doing exactly that, and as you said it might not even be needed, chart itself is fast af. I have a module using lightweight charts which is adding new bar every second, I just sleep better knowing it wont have (604800*nb of series) bars after a week of having it open 😁