Commit 238b3100 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@68248 954022d7-b5bf-4e40-9824-e11837661b57
parent c7f2852e
...@@ -9806,7 +9806,7 @@ valAxisChart.prototype = ...@@ -9806,7 +9806,7 @@ valAxisChart.prototype =
var pen; var pen;
var path; var path;
pen = this.cChartSpace.chart.plotArea.catAx.compiledLn; pen = this.cChartSpace.chart.plotArea.valAx.compiledLn;
path = this.paths.axisLine; path = this.paths.axisLine;
this.cChartDrawer.drawPath(path, pen); this.cChartDrawer.drawPath(path, pen);
}, },
......
...@@ -6837,6 +6837,12 @@ CChartSpace.prototype = ...@@ -6837,6 +6837,12 @@ CChartSpace.prototype =
compiled_grid_lines.calculate(parents.theme, parents.slide, parents.layout, parents.master, {R: 0, G: 0, B: 0, A: 255}); compiled_grid_lines.calculate(parents.theme, parents.slide, parents.layout, parents.master, {R: 0, G: 0, B: 0, A: 255});
checkBlackUnifill(compiled_grid_lines.Fill, true); checkBlackUnifill(compiled_grid_lines.Fill, true);
if(spPr && spPr.ln)
{
compiled_grid_lines.merge(spPr.ln);
compiled_grid_lines.calculate(parents.theme, parents.slide, parents.layout, parents.master, {R: 0, G: 0, B: 0, A: 255});
}
return compiled_grid_lines; return compiled_grid_lines;
} }
axis.compiledLn = calcGridLine(defaultStyle.axisAndMajorGridLines, axis.spPr, subtleLine, parents); axis.compiledLn = calcGridLine(defaultStyle.axisAndMajorGridLines, axis.spPr, subtleLine, parents);
......
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