Bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-02-14 11:57:24 +01:00
1 parent 11a3d80d6a
commit 762e9a12f7
1 file changed
+3
+3
View File
@@ -197,11 +197,14 @@ function newRateScale () {
thisObject.maxValue = code.maxValue
coordinateSystem.min.y = thisObject.minValue
coordinateSystem.max.y = thisObject.maxValue
if (code.autoMinScale !== undefined && (code.autoMinScale === true || code.autoMinScale === false)) {
coordinateSystem.autoMinScale = code.autoMinScale
autoScaleButton.autoMinScale = code.autoMinScale
}
if (code.autoMaxScale !== undefined && (code.autoMaxScale === true || code.autoMaxScale === false)) {
coordinateSystem.autoMaxScale = code.autoMaxScale
autoScaleButton.autoMaxScale = code.autoMaxScale
}
coordinateSystem.recalculateScale()
}