Commit 001fa30f authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27179 - Не происходит отрисовка части...

http://bugzserver/show_bug.cgi?id=27179 -  Не происходит отрисовка части диаграммы Line Chart 3-го типа после уменьшения масштаба таблицы с помощью Zoom

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63957 954022d7-b5bf-4e40-9824-e11837661b57
parent c58124c3
...@@ -2966,8 +2966,11 @@ drawLineChart.prototype = ...@@ -2966,8 +2966,11 @@ drawLineChart.prototype =
{ {
var brush, pen, dataSeries, seria, markerBrush, markerPen, numCache; var brush, pen, dataSeries, seria, markerBrush, markerPen, numCache;
//TODO для того, чтобы верхняя линия рисовалась. пересмотреть!
var diffPen = 3;
this.cChartDrawer.cShapeDrawer.Graphics.SaveGrState(); this.cChartDrawer.cShapeDrawer.Graphics.SaveGrState();
this.cChartDrawer.cShapeDrawer.Graphics.AddClipRect(this.chartProp.chartGutter._left / this.chartProp.pxToMM, (this.chartProp.chartGutter._top - 2) / this.chartProp.pxToMM, this.chartProp.trueWidth / this.chartProp.pxToMM, this.chartProp.trueHeight / this.chartProp.pxToMM); this.cChartDrawer.cShapeDrawer.Graphics.AddClipRect(this.chartProp.chartGutter._left / this.chartProp.pxToMM, (this.chartProp.chartGutter._top - diffPen) / this.chartProp.pxToMM, this.chartProp.trueWidth / this.chartProp.pxToMM, (this.chartProp.trueHeight + diffPen) / this.chartProp.pxToMM);
for (var i = 0; i < this.paths.series.length; i++) { for (var i = 0; i < this.paths.series.length; i++) {
seria = this.chartProp.series[i]; seria = this.chartProp.series[i];
brush = seria.brush; brush = seria.brush;
......
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