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

Improve display of long-term graph #14

Open
rixx opened this issue Oct 20, 2022 · 0 comments
Open

Improve display of long-term graph #14

rixx opened this issue Oct 20, 2022 · 0 comments

Comments

@rixx
Copy link
Contributor

rixx commented Oct 20, 2022

My nom history goes back nearly five years at this point (whee! and thank you as always for this tool). Sometimes I want to see my overall history, which takes a while to render (absolutely fine) and looks generally really well except that the time scale isn't readable at all:
2022-10-20T11:22:55+02:00

My current solution is to manually append this stylesheet, hiding every marker except every 3rd or 4th:

g[text-anchor=middle] {
  display: none;
}
g:nth-of-type(4n) g[text-anchor=middle] {
  display: block;
}

It would probably be the easiest to either drop the labels during rendering, or to hide them immediately (color=white would do it).

For reference, on my display, Every 3rd entry worked fine for up to ~40-44 months, but 4 years were already better with every 4th entry.

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