-
Notifications
You must be signed in to change notification settings - Fork 47
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
Make data labels consistent #5
Conversation
I forgot to update the HTML part accordingly. I will fix this! |
@@ -1,4 +1,4 @@ | |||
date Pull request usage in % Status usage in % | |||
date pull request usage [%] status usage [%] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this some kind of standard? I think in %
reads easier, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that’s how you usually denote the unit of an axis. I think it looks more professional like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also keep in mind that I want to show the unit on the axes directly at some point. Parsing might be easier with this bracket notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parsing is a convincing argument! 👍
ROUND(100*COUNT(pr.repository_id)/COUNT(active.repository_id)) AS "Pull request usage in %", | ||
ROUND(100*COUNT(status.repository_id)/COUNT(active.repository_id)) AS "Status usage in %" | ||
ROUND(100*COUNT(pr.repository_id)/COUNT(active.repository_id)) AS "pull request usage [%]", | ||
ROUND(100*COUNT(status.repository_id)/COUNT(active.repository_id)) AS "status usage [%]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these names used anywhere? just to make sure we don't break anything here ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s the actual results if I see that correctly, and not just intermediate subquery results.
The data labels are currently formatted inconsistently. This pull request turns all labels into lowercase (except acronyms etc.) and updates the demo data accordingly.