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

Hide 1px rectangles for nvd3 graphs. #2529

Closed
wants to merge 1 commit into from
Closed

Conversation

meisterT
Copy link
Member

@meisterT meisterT commented 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 #2528.

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.
@meisterT
Copy link
Member Author

meisterT commented May 4, 2024

I will close this PR right away it is just for demonstration purposes. It would have the problem mentioned in the commit description, also losing information...

@meisterT meisterT closed this May 4, 2024
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

Successfully merging this pull request may close these issues.

Statistics graphs: do not display anything for 0 attempts.
1 participant