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

More precise tooltip values in C&U charts #12640

Merged
merged 2 commits into from Nov 21, 2016

Conversation

PanSpagetka
Copy link
Contributor

@PanSpagetka PanSpagetka commented Nov 15, 2016

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

c u_graph_57 3

screencast from 2016-11-15 15-10-19

Links

https://bugzilla.redhat.com/show_bug.cgi?id=1383821

Steps for Testing/QA

Goto: Compute -> Infrastructure -> Host/VM/Cluster -> Utilization

@PanSpagetka PanSpagetka changed the title Mere precise tooltip values in C&U charts More precise tooltip values in C&U charts Nov 15, 2016
@dclarizio
Copy link

@PanSpagetka this seems to have caused some number formatting failures in the JS tests.

@dclarizio
Copy link

@PanSpagetka there is a seemingly unrelated JS test failure, perhaps a rebase?

@PanSpagetka PanSpagetka force-pushed the cu-charts-more-precise-tooltip branch 2 times, most recently from a066ea6 to 147fedc Compare November 21, 2016 11:58
@miq-bot
Copy link
Member

miq-bot commented Nov 21, 2016

Checked commits PanSpagetka/manageiq@74e6b61~...c57c0ab with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
0 files checked, 0 offenses detected
Everything looks good. 👍

@himdel
Copy link
Contributor

himdel commented Nov 21, 2016

LGTM 👍

Some background.. we haven't been running JS tests since #11762, because they started looping :) so we've accumulated one or two failing tests since..

The topology_service_spec change matches the changes to the service in #12607.

@dclarizio dclarizio merged commit 5283c97 into ManageIQ:master Nov 21, 2016
@dclarizio dclarizio added this to the Sprint 50 Ending Dec 5, 2016 milestone Nov 21, 2016
hayesr added a commit to hayesr/manageiq that referenced this pull request Nov 21, 2016
@himdel
Copy link
Contributor

himdel commented Nov 22, 2016

When backporting, please backport #12782 right after this one.

simaishi pushed a commit that referenced this pull request Jan 24, 2017
@simaishi
Copy link
Contributor

Euwe backport details:

$ git log -1
commit 944dc5c7336727e72017fd50c32a8110454fe0fd
Author: Dan Clarizio <dclarizi@redhat.com>
Date:   Mon Nov 21 08:31:44 2016 -0800

    Merge pull request #12640 from PanSpagetka/cu-charts-more-precise-tooltip
    
    More precise tooltip values in C&U charts
    (cherry picked from commit 5283c973c77df948eef3e655276470e25efd2913)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1416093

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

Successfully merging this pull request may close these issues.

None yet

6 participants