Branch: refs/heads/release/jon3.3.x Home: https://github.com/rhq-project/rhq Commit: b9d395370d478cde7354682240349d6bbb5d5cfb https://github.com/rhq-project/rhq/commit/b9d395370d478cde7354682240349d6bbb... Author: Jirka Kremser jkremser@redhat.com Date: 2014-10-14 (Tue, 14 Oct 2014)
Changed paths: M modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/graph/graphtype/StackedBarMetricGraphImpl.java
Log Message: ----------- [BZ 1146266] - Metric graph is empty if high, low, and avg values are all the same for every time bucket within the selected time range - d3.scale.linear().domain() funcion excepts an array with >2 distinct elements. The global min and max were used here, but if all the values were the same it didn't work so I've changed it to [0.9 * min, 1.1 * max] if min == max.
(cherry picked from commit 265d3ea40d4644df258689de6bbee30ac3c6a3bb) Signed-off-by: Libor Zoubek lzoubek@redhat.com
rhq-commits@lists.fedorahosted.org