Commit 29c77067 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 27693 - Ошибка при вводе Минимального/Максимального значения границ для...

Bug 27693 - Ошибка при вводе Минимального/Максимального значения границ для вертикальной оси в расширенных настройках диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60241 954022d7-b5bf-4e40-9824-e11837661b57
parent a259d7d5
......@@ -8496,12 +8496,15 @@ CValAx.prototype =
else
{
if(isRealNumber(props.minVal))
{
if(!(props.maxValRule === c_oAscValAxisRule.fixed && props.maxVal < props.minVal) && scaling.min !== props.minVal)
{
scaling.setMin(props.minVal);
bChanged = true;
}
}
}
}
if(isRealNumber(props.maxValRule))
{
......@@ -8518,6 +8521,8 @@ CValAx.prototype =
if(isRealNumber(props.maxVal))
{
if(!isRealNumber(scaling.min) || scaling.min < props.maxVal)
{
if(scaling.max !== props.maxVal)
{
scaling.setMax(props.maxVal);
bChanged = true;
......@@ -8525,6 +8530,7 @@ CValAx.prototype =
}
}
}
}
if(isRealBool(props.invertValOrder))
{
......
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