Commit 2e5eb1ec authored by Sergey Luzyanin's avatar Sergey Luzyanin

fixed bug with cat labels

parent 106ff312
......@@ -6627,11 +6627,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