Commit 7c09a278 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

прозрачный фон для диаграмм

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52121 954022d7-b5bf-4e40-9824-e11837661b57
parent 0bc20c63
......@@ -1347,7 +1347,7 @@ function drawChart(chart, arrValues, options) {
var defaultYTitle = api_sheet ? api_sheet.chartTranslate.yAxis : api_doc.chartTranslate.yAxis;
var defaultTitle = api_sheet ? api_sheet.chartTranslate.title : api_doc.chartTranslate.title;
var inheritColor = "inherit";
var opacityColor = "rgba(255, 255, 255, 0)";
var defaultColor = "white";
if(OfficeExcel.drawingCtxCharts)
......@@ -1564,9 +1564,9 @@ function drawChart(chart, arrValues, options) {
calcWidthGraph();
if(options)
{
bar._otherProps._background_barcolor1 = inheritColor;
bar._otherProps._background_barcolor2 = inheritColor;
bar._otherProps._background_image_color = inheritColor;
bar._otherProps._background_barcolor1 = opacityColor;
bar._otherProps._background_barcolor2 = opacityColor;
bar._otherProps._background_image_color = opacityColor;
}
else
bar._otherProps._background_image_color = defaultColor;
......
......@@ -1853,7 +1853,6 @@
obj.context.lineWidth = 1;
obj.context.lineCap = 'butt';
obj.context.strokeStyle = obj._otherProps._axis_color;
obj.context.fillStyle = 'yellow';
obj.context.beginPath();
obj.context.fillStyle = obj._otherProps._background_image_color;
......
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