Commit 7cb69814 authored by Igor.Zotov's avatar Igor.Zotov

http://bugzserver/show_bug.cgi?id=25027 - Диаграммы не строится по диапазону...

http://bugzserver/show_bug.cgi?id=25027 -  Диаграммы не строится по диапазону значений, содержащий одинаковые значения

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56986 954022d7-b5bf-4e40-9824-e11837661b57
parent 3abb6388
......@@ -2877,6 +2877,14 @@ CChartsDrawer.prototype =
axisMin = yMin + 0.05 * (yMin - yMax);
}
if(axisMin == axisMax)
{
if(axisMin < 0)
axisMax = 0;
else
axisMin = 0;
};
return {min: axisMin, max: axisMax};
},
......
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