How to increase the length of history plotted by smoothie.js?
181 views
Skip to first unread message
Steven R
unread,
Sep 21, 2018, 8:46:40 AM9/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smoothie Charts
I am using Django Channels to push updates to a smoothe.js chart once every second.
My problem is that the chart does not retain a history longer than 30 seconds. What can I do to get smoothie.js to plot more data and retain a longer history?
David Zuliani
unread,
Sep 21, 2018, 8:58:10 AM9/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smoothie Charts
Hi,
you can increase the millisPerPixel parameter to incresae your history.
e.g.:
var smoothie = new SmoothieChart({ millisPerPixel: 1000, });