Fix line / non-numeric-y (#6617)

This commit is contained in:
Jukka Kurkela
2019-10-27 21:05:23 +02:00
committed by Evert Timberg
parent d4dc505966
commit 0de668b46f
3 changed files with 36 additions and 1 deletions

View File

@@ -209,8 +209,9 @@ module.exports = DatasetController.extend({
if (rightValue < 0) {
return yScale.getPixelForValue(sumNeg + rightValue);
}
return yScale.getPixelForValue(sumPos + rightValue);
}
return yScale.getPixelForValue(sumPos + rightValue);
return yScale.getPixelForValue(value);
},
updateBezierControlPoints: function() {