You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve performance I would like to use epoch timestamp in ms as x axis data, but show date in string format.
When I use the parameter type="date" it breaks the resampler I can no longer zoom in the chart
Thx for submitting this issue together with the reproducible code! 👍
I am able to reproduce this bug on my machine - I narrowed the underlying issue down to plotly-resampler internally using a stateful version of the xaxes type (but as you change this to type "date" - the internal value does not get changed & thus remains "linear" instead of "date")
I looked into this, and for me it doesn't make 100% sense why you would convert your timestamp (and possible timezone aware array) into unix ms- epochs?
You mentioned that you had performance issues. Can these be tackled by adding your trace data not via the go.Scatter / go.Scattergl its x and y properties, but via the hf_x and hhf_y properties, as shown below?
This can be found aswell in the docs
Using 10M datapoints; and settign the data via hf_x and hf_y, I get the same type of visualization as above, and this runs <1s on a consumer pc.
To improve performance I would like to use epoch timestamp in ms as x axis data, but show date in string format.
When I use the parameter
type="date"
it breaks the resampler I can no longer zoom in the chartCode to reproduce :
The text was updated successfully, but these errors were encountered: