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

Time cartesian axis has duplicate labels when the data is within the last 7 days #66

Open
RudeySH opened this issue May 6, 2024 · 0 comments

Comments

@RudeySH
Copy link

RudeySH commented May 6, 2024

Expected Behavior

  1. If all the data is within the last 24 hours, there's no need to put the date in the label. For example, labels like these should be OK: "3 AM", "9 AM", "3 PM", "9 PM". This already works as expected with this adapter.

  2. If the data range is over 24 hours, the labels should be include the date to avoid duplicate labels. For example, "3 AM" can show up twice if the data ranges from May 4th 3:00 to May 5th 3:00. This can be fixed by either switching to only 1 tick per day, or improve the labels so that they include date and time ("May 5, 3 AM").

Current Behavior

If the data is all between the last 24 hours and the last 7 days, you get duplicate labels.

image

image

Is there a way to force the chart to use 1 tick per day if the chart contains data older than 24 hours?

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