Branch: refs/heads/master Home: https://github.com/rhq-project/rhq Commit: 265d3ea40d4644df258689de6bbee30ac3c6a3bb https://github.com/rhq-project/rhq/commit/265d3ea40d4644df258689de6bbee30ac3... Author: Jirka Kremser jkremser@redhat.com Date: 2014-10-10 (Fri, 10 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.
rhq-commits@lists.fedorahosted.org