diff --git a/components/chart/y-axis.js b/components/chart/y-axis.js index b215da08f6cbb613e34217e056110d50e96f2c0e..27d1411663023b467a7970543682560bc7868571 100644 --- a/components/chart/y-axis.js +++ b/components/chart/y-axis.js @@ -60,7 +60,9 @@ export function normalizeToScale(temp, columnHeight) { function getAbsoluteValue(relative, columnHeight) { // we add some height to have some breathing room const verticalPadding = columnHeight * config.temperatureScale.verticalPadding - const scaleHeight = columnHeight - verticalPadding + const scaleHeight = columnHeight - 2 * verticalPadding + console.log(scaleHeight) + console.log(columnHeight) return scaleHeight * relative + verticalPadding } \ No newline at end of file