-
Notifications
You must be signed in to change notification settings - Fork 227
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 clear and re-draw #23
Comments
I got it to work using the following hack:-
but agree a redraw call would be cleaner. |
+1 |
I would like to integrate this nice charting library to our Python ecosystem but I cannot find any details on a JavaScript API to update chart, add points, or change the options. Is it in the roadmap ? Thanks |
|
I'm currently using
ref.current.querySelectorAll("*").forEach(n => n.remove());
whereref.current
refers to the DOM<div>
element.This kinda works but it appears the y-axis is changing which might be a bug but I'd rather figure out a way to re-draw or clear.
The text was updated successfully, but these errors were encountered: