]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Ensure that the bar draws to the correct spot 1115/head 994/head
authorEvert Timberg <evert.timberg@gmail.com>
Sat, 2 May 2015 19:03:40 +0000 (15:03 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Sat, 2 May 2015 19:03:40 +0000 (15:03 -0400)
src/Chart.Bar.js

index 73ac93ef95fdfa5d42d58f6187b87334445482bb..e911cb500b53986e5441d790390c210bedcbbf1e 100644 (file)
                        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)
                        {