Skip to content

Lines vanish when zooming (inequidistant times series) --> Minimum samples per view? #351

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

Open
boxingshark opened this issue Apr 11, 2025 · 0 comments

Comments

@boxingshark
Copy link

Hi there,

I use time series data with inequdistant time steps. With default settings, I got some line gaps when zooming. I followed the advice here and it helped me. Thanks!
But the usage of the NoGapHandler raises another issue. Due to the NoGapHandler it can occur that there are no timestamps and values inside a plotting window. In the attached picture it is not possible to get a tooltip for the third plot (due to missing data points which results from irregular time series). Is there a way to fill the gaps "simply" with the last known value before the gap such that I can hover it and get a tooltip? I am quite new to the plotly library.

And there is another issue (second image). When I zoom further into my data, it can occur that lines vanish as samples/timestamps lie outside the current view. Is there a way to force the resampler to sample up when there are too few samples inside the view? For example, to fill the gaps/missing values with the last known values (hold last value) to have min 500 samples and max 1000 samples inside a view, for example. That would also solve the tooltip issue above. Thanks in advance.

Image

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant