Red Hat Bugzilla – Bug 1014689
Resource metric graph portlet shows graph incorrectly when there is not enough space
Last modified: 2015-11-01 19:43:38 EST
Created attachment 806521 [details]
Description of problem:
Version-Release number of selected component (if applicable):
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
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
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.