Fix a minor bug

This commit is contained in:
Evert Timberg
2015-05-02 14:59:33 -04:00
parent 2814c8e44c
commit 62b29282fd

View File

@@ -146,7 +146,7 @@
calculateBarBase: function() {
var base = this.scale.endPoint;
if (this.scale.beginAtZero || ((this.scale.min < 0 && this.scale.max > 0) || (this.scale.min > 0 && this.scale.max < 0)))
if (this.scale.beginAtZero || ((this.scale.min <= 0 && this.scale.max >= 0) || (this.scale.min >= 0 && this.scale.max <= 0)))
{
base = this.scale.calculateY(0);
}