Adding TimeSeries at runtime

118 views
Skip to first unread message

Chris Kosik

unread,
Jun 22, 2019, 3:08:12 AM6/22/19
to Smoothie Charts
Hello,

is it possible to add new TimeSeries to the SmoothieChart at runtime without causing a browser reload?

I have not been able to achieve this yet.

Drew Noakes

unread,
Jun 22, 2019, 9:55:47 AM6/22/19
to smoothie-charts
If the graph is animating it should work automatically, as it repaints every frame. Otherwise you need to force a render.

[via phone]

--
You received this message because you are subscribed to the Google Groups "Smoothie Charts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothie-char...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smoothie-charts/11d70005-7b4a-4420-842e-ed4915ad016d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cuoax Gaming

unread,
Aug 1, 2019, 7:23:48 AM8/1/19
to Smoothie Charts
If it doesn't, try this:

smoothie.stop();
smoothie
.start();

to restart graph.

Reply all
Reply to author
Forward
0 new messages