Merge pull request #850 from ONLYOFFICE/fix/bugfix

[SSE] Fix Bug 50110
This commit is contained in:
Julia Radzhabova 2021-04-28 20:06:27 +03:00 committed by GitHub
commit d941438373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -394,10 +394,10 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template'
var value;
switch (record.value) {
case Asc.c_oAscCrossesRule.minValue:
me.spnVAxisCrosses[i].setValue(me.spnMinValue.getNumberValue(), true);
me.spnVAxisCrosses[i].setValue(me.spnMinValue[i].getNumberValue(), true);
break;
case Asc.c_oAscCrossesRule.maxValue:
me.spnVAxisCrosses[i].setValue(me.spnMaxValue.getNumberValue(), true);
me.spnVAxisCrosses[i].setValue(me.spnMaxValue[i].getNumberValue(), true);
break;
case Asc.c_oAscCrossesRule.auto:
me.spnVAxisCrosses[i].setValue(me._originalAxisVValues[i].crossesAuto, true);