Skip to content
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

Avoid empty left hand part of plots #448

Open
yngves opened this issue Mar 6, 2023 · 1 comment
Open

Avoid empty left hand part of plots #448

yngves opened this issue Mar 6, 2023 · 1 comment

Comments

@yngves
Copy link

yngves commented Mar 6, 2023

Case: I select a time interval where there is no measurement point near the beginning of that interval (i.e. the car was offline for some duration at the beginning). Then the left part of the diagram is empty, and the plots only begin somewhere towards the right. And this is even though older data ("beyond" the left edge of the diagram")exist in the database.

The two attached screenshots show how a 6 hr plot is empty for the first 2.5 hours, but when e.g. a 2 day duration is selected, the plots fill (almost) the entire diagram.

Would it be possible to add logic so that the system looks for the last data point before the chosen diagram interval and uses that to fill the diagram entirely?

Screenshot 2023-03-06 at 12 40 34

Screenshot 2023-03-06 at 12 41 02

@tillsteinbach
Copy link
Owner

Actually I have no idea how this could work. If there is someone with very good SQL knowledge who could give advice I would be happy to implement that

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

2 participants