The chart in plotly uses data from an sql db, while the matplotlib chart uses the same data before putting it on the db. Could that have anything to do with it?
I suspect its the date-axis (also the index) that is causing the trouble, checked for duplicates but none where found…any ideas?
That looks strange. Is this happening across all browsers? There’s a bug with svg graphics in Firefox 64, and while this doesn’t look like it, might help to at least cross it off the list.
Also tried introducing a new column with dates as strings, but error persists…
Is there any way to schedule SQL queries / plot the queried grid programmatically using python or am I confined to using Falcon & the chart editor manually?
Thanks!
My first guess is that some of the points are not in the order that you expect. For the lines to be smooth, you’ll want the points to be ordered by the x-axis value (date in your example).
Does your SQL query include an “ORDER BY” clause? Without this, SQL engines generally don’t guarantee that they will return the data in the same order that they were inserted.
Does your SQL query include an “ORDER BY” clause? Without this, SQL engines generally don’t guarantee that they will return the data in the same order that they were inserted.
You´re absolutely right, this did the trick. Thank you very much!