mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Remove wrong addition of padding
This commit is contained in:
parent
f636a78977
commit
b4b3bf60b8
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user