Bug fixed
This commit is contained in:
1 parent
11a3d80d6a
commit
762e9a12f7
1 file changed
+3
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user