Commit 106ff312 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fixed bugs in charts

parent 15eca16b
......@@ -5008,11 +5008,15 @@ CChartSpace.prototype.recalculateAxis = function()
}
if(pts_len > string_pts.length)
{
for(i = 0; i < pts_len; ++i)
for(i = string_pts.length; i < pts_len; ++i)
{
string_pts.push({val:i+1 + ""});
}
}
else
{
string_pts.splice(pts_len, string_pts.length - pts_len);
}
}
/*---------------------расчет позиции блока с подписями вертикальной оси-----------------------------------------------------------------------------*/
//расчитаем ширину интервала без учета горизонтальной оси;
......
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