mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Ensure that the bar draws to the correct spot
This commit is contained in:
parent
62b29282fd
commit
e13ada2b43
@ -149,6 +149,7 @@
|
||||
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);
|
||||
base += this.options.scaleGridLineWidth;
|
||||
}
|
||||
else if (this.scale.min < 0 && this.scale.max < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user