Commit 136ca8a9 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 28003 - Не работает значение Minimum Value опции Пересечения (Axis...

Bug 28003 - Не работает значение Minimum Value опции Пересечения (Axis Crosses) с Горизонтальной/Вертикальной осью в настройках диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60457 954022d7-b5bf-4e40-9824-e11837661b57
parent 6c078179
......@@ -4267,6 +4267,19 @@ CCatAx.prototype =
bChanged = true;
}
}
else if(crossesRule === c_oAscCrossesRule.minValue)
{
if(this.crossAx.crossesAt !== null)
{
this.crossAx.setCrossesAt(null);
bChanged = true;
}
if(this.crossAx.crosses !== CROSSES_MIN)
{
this.crossAx.setCrosses(CROSSES_MIN);
bChanged = true;
}
}
}
if(isRealNumber(labelsPosition) && isRealObject(this.crossAx) && this.crossAx.setCrossBetween)
......@@ -8672,6 +8685,19 @@ CValAx.prototype =
bChanged = true;
}
}
else if(props.crossesRule === c_oAscCrossesRule.minValue)
{
if(this.crossAx.crossesAt !== null)
{
this.crossAx.setCrossesAt(null);
bChanged = true;
}
if(this.crossAx.crosses !== CROSSES_MIN)
{
this.crossAx.setCrosses(CROSSES_MIN);
bChanged = true;
}
}
}
if(bChanged)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment