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
More precise tooltip values in C&U charts #12640
More precise tooltip values in C&U charts #12640
Conversation
75de93a
to
b5cb7dc
Compare
@PanSpagetka this seems to have caused some number formatting failures in the JS tests. |
b5cb7dc
to
821fb43
Compare
@PanSpagetka there is a seemingly unrelated JS test failure, perhaps a rebase? |
a066ea6
to
147fedc
Compare
147fedc
to
c57c0ab
Compare
Checked commits PanSpagetka/manageiq@74e6b61~...c57c0ab with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
When backporting, please backport #12782 right after this one. |
…ltip More precise tooltip values in C&U charts (cherry picked from commit 5283c97) https://bugzilla.redhat.com/show_bug.cgi?id=1416093
Euwe backport details:
|
Sometimes we have charts with values which are really close to each other(like in first picture) and they are rounded. Our formatting functions are generated when the charts is build, so it is possible to adjust precision of labels base on actual values, but...
Charts are dynamic, you can show/hide individual series of data and chart adapt to this changes(second picture) for this case it would be hard to change dynamically precision on labels base on data which is actually shown.
So I decided use something more simple, in tooltip just show more precise values.
Screenshots
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1383821
Steps for Testing/QA
Goto: Compute -> Infrastructure -> Host/VM/Cluster -> Utilization