Commit 461e69c3 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

клипирование подписей осей в случае их вылезания за пределы ректа диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52010 954022d7-b5bf-4e40-9824-e11837661b57
parent a4065106
...@@ -964,12 +964,20 @@ CChartAsGroup.prototype = ...@@ -964,12 +964,20 @@ CChartAsGroup.prototype =
} }
graphics.reset(); graphics.reset();
graphics.SetIntegerGrid(true); graphics.SetIntegerGrid(true);
graphics.SaveGrState();
graphics.SetIntegerGrid(false);
graphics.transform3(this.transform);
graphics.AddClipRect(-1, -1, this.extX + 1, this.extY + 1);
if(this.chartTitle) if(this.chartTitle)
this.chartTitle.draw(graphics, pageIndex); this.chartTitle.draw(graphics, pageIndex);
if(this.hAxisTitle) if(this.hAxisTitle)
this.hAxisTitle.draw(graphics, pageIndex); this.hAxisTitle.draw(graphics, pageIndex);
if(this.vAxisTitle) if(this.vAxisTitle)
this.vAxisTitle.draw(graphics, pageIndex); this.vAxisTitle.draw(graphics, pageIndex);
graphics.RestoreGrState();
}, },
check_bounds: function(checker) check_bounds: function(checker)
......
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