Bug 697093

Summary: Change y-axis labels on png flash charts to use units of 'M" for values >= 1 million
Product: Red Hat Enterprise MRG Reporter: Trevor McKay <tmckay>
Component: distributionAssignee: Chad Roberts <croberts>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: unspecified Docs Contact:
Priority: low    
Version: 2.0CC: jsarenik
Target Milestone: 2.0.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.4840-1 Doc Type: Bug Fix
Doc Text:
The Cumin charts displayed the values exceeding one million in thousands (for example, "1000k") on the y-axis. This update adjusts the labels to display the values in millions (for example, "1M").
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 16:44:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723887    

Description Trevor McKay 2011-04-15 19:53:38 UTC
Some of the charts in cumin, particularly cumulative charts dealing with submissions or completions, can show values exceeding 1 million.  Currently 1 million is shown is 1000k.  

For all charts (flash and png) consider using a unit of 'M' when values exceed 1 million (this means labels will have to include decimals, too).

Comment 1 Chad Roberts 2011-05-04 18:27:15 UTC
Values like 6,350,000 will now be shown as 6.35M on the y-axis labels of both the flash and png charts.

Fixed in revision 4751.

Comment 2 Chad Roberts 2011-05-04 18:27:15 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause:  Values on the y-axis labels > 1 million.

Consequence:  The labels were being displayed in terms of "k", which is rather awkward when it comes to dealing in terms of millions.

Fix:  Adjusted the y-axis labeling mechanism to label values > 1 million in terms of "M" instead of "k"

Result:  The y-axis labels are more sensible when the values are large.

Comment 5 Jan Sarenik 2011-07-22 12:45:36 UTC
It is hard to get to 1M. Can you please give me a hint
on which graph I can quickly go into 1M?

Comment 6 Chad Roberts 2011-07-22 12:57:53 UTC
I think that I used condor_submit to queue up millions of "sleep" jobs...once I verified that the graphs did the right thing, I cleared the queue.

Comment 7 Jan Sarenik 2011-07-25 15:11:06 UTC
On both Flash and PNG graphs I see lower-case "m". That will be
changed into upper-case "M" in future version.

Verified in cumin-0.1.4887-1.el5

Comment 8 Jan Sarenik 2011-07-25 15:18:56 UTC
See Bug 725473 for change of "m" into "M".

Comment 9 Eva Kopalova 2011-08-09 14:27:23 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,7 +1 @@
-Cause:  Values on the y-axis labels > 1 million.
+The Cumin charts displayed the values exceeding one million  in thousands (for example, "1000k") on the y-axis. This update adjusts the labels to display the values in millions (for example, "1M").-
-Consequence:  The labels were being displayed in terms of "k", which is rather awkward when it comes to dealing in terms of millions.
-
-Fix:  Adjusted the y-axis labeling mechanism to label values > 1 million in terms of "M" instead of "k"
-
-Result:  The y-axis labels are more sensible when the values are large.

Comment 10 errata-xmlrpc 2011-09-07 16:44:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1249.html