Bug 1014689 - Resource metric graph portlet shows graph incorrectly when there is not enough space
Summary: Resource metric graph portlet shows graph incorrectly when there is not enoug...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER05
: JON 3.2.0
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-02 14:32 UTC by Libor Zoubek
Modified: 2015-11-02 00:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:43:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
example (489.52 KB, image/png)
2013-10-02 14:32 UTC, Libor Zoubek
no flags Details

Description Libor Zoubek 2013-10-02 14:32:41 UTC
Created attachment 806521 [details]
example

Description of problem:


Version-Release number of selected component (if applicable):
JON 3.2.ER2

How reproducible: always


Steps to Reproduce:
1. have a metric with big maximum 3 or more hours ago
2. place graph of this metric to dashboard and make place for that portlet thin

Actual results: 

Metric graph displays only 1 or 2 hour history, but values are rendered as it was full 8hours interval. 3 hours old big maximum defines maximum for Y axis, but this is wrong. Maximum must be derived from value currently displayed. This may lead to situation when you cannot even hover actual values, because maximum was very high in the past, see screenshot (bottom left).


Expected results: both graps on screenshot (bottom left & bottom right) should look +- similar


Additional info:

Comment 1 Mike Thompson 2013-10-09 02:17:13 UTC
This is as designed. They both use the same interval widths (for instance, 8 m), except that the thin (cut down) graph can only display a smaller number of bars. This way, they look consistent when comparing graphs between large and small as they use the same units. If you need more history move the graph over to the larger column.


Note You need to log in before you can comment on or make changes to this bug.