-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to stream or update data in a viz #95
Comments
Just been thinking, does the function approach outlined in the docs here mean that I could use a reagent atom to feed in data without triggering a full rerender? Or have I misunderstood this? |
Hi @Folcon. Thanks for asking to clarify. I'm after a resolution of this issue which would make it possible to use a ratom as your While this is pretty optimal performance wise, I can also try doing a check to see whether any other parts of the passed in spec have changed when you Hope this answers your question. Please let me now if it would be helpful for me to clarify further. Thanks again! |
That would be great, spent a bit of time looking into this, it seems you'll want to use something like streaming functionality? Do you have a clear idea how you want to do this? Not really too familiar with vega myself so not sure how best to achieve it. The only other way I could see to do it is to use the fact that you can hand it a data url, and perhaps dynamically build a blob and point it at that, doubt it would be very performant though... |
Is there any workaround that could allow streaming data now? |
@pjlegato @Folcon Hi folks. Thanks again for your thoughts on this. Just wanted to update you that as of #167 (commit: 747187e), it's now possible to stream data by passing a However, this admittedly isn't the most idiomatic API in the context of a reagent app, so I'm peeling off #172, #173 and #174 to tease apart ways this could be improved. Thanks again! |
Thanks @metasoarous, I'll give this a go when I have a chance next weekend =)... |
Great; Please let me know how it goes! Thanks. |
This means one (or more) of:
This dovetails with #94.
The text was updated successfully, but these errors were encountered: