mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-08 01:06:51 +01:00
Remove wrong addition of padding
This commit is contained in:
@@ -173,7 +173,6 @@
|
||||
// Bottom - top since pixels increase downard on a screen
|
||||
var innerHeight = this.height - (this.paddingTop + this.paddingBottom);
|
||||
pixel = (this.bottom - this.paddingBottom) - (innerHeight / range * (value - this.start));
|
||||
pixel += this.paddingTop;
|
||||
}
|
||||
|
||||
return pixel;
|
||||
|
||||
Reference in New Issue
Block a user