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

Statistics graphs: do not display anything for 0 attempts. #2528

Open
nickygerritsen opened this issue May 4, 2024 · 0 comments
Open

Statistics graphs: do not display anything for 0 attempts. #2528

nickygerritsen opened this issue May 4, 2024 · 0 comments

Comments

@nickygerritsen
Copy link
Member

See:
image

It looks like C/G are attempted, but they are not. We should check if we can disable this behaviour in the graph.

meisterT added a commit to meisterT/domjudge that referenced this issue May 4, 2024
Unfortunately nvd3 does display a 1px bar for the value 0:
https://github.com/novus/nvd3/blob/master/src/models/discreteBar.js#L198

This works around it but would also make very small values disappear.

Fixes DOMjudge#2528.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants