mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-10 10:16:50 +01:00
Fix a minor bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user