Commit 6d08fd1a authored by Alexander.Trofimov's avatar Alexander.Trofimov

update charts colors for selection series

parent afe1a020
...@@ -3569,20 +3569,17 @@ function DrawingObjects() { ...@@ -3569,20 +3569,17 @@ function DrawingObjects() {
if(!drawing.bbox || drawing.bbox.worksheet !== worksheet.model) if(!drawing.bbox || drawing.bbox.worksheet !== worksheet.model)
return; return;
var stroke_color;
if(drawing.bbox.serBBox) if(drawing.bbox.serBBox)
{ {
stroke_color = new AscCommon.CColor(0, 128, 0);
worksheet._drawElements(worksheet._drawSelectionElement, worksheet._drawElements(worksheet._drawSelectionElement,
asc.Range(drawing.bbox.serBBox.c1, drawing.bbox.serBBox.r1, drawing.bbox.serBBox.c2, asc.Range(drawing.bbox.serBBox.c1, drawing.bbox.serBBox.r1, drawing.bbox.serBBox.c2,
drawing.bbox.serBBox.r2, true), false, stroke_color); drawing.bbox.serBBox.r2, true), false, AscCommonExcel.c_oAscFormulaRangeBorderColor[1]);
} }
if(drawing.bbox.catBBox) if(drawing.bbox.catBBox)
{ {
stroke_color = new AscCommon.CColor(153, 0, 204);
worksheet._drawElements(worksheet._drawSelectionElement, worksheet._drawElements(worksheet._drawSelectionElement,
asc.Range(drawing.bbox.catBBox.c1, drawing.bbox.catBBox.r1, drawing.bbox.catBBox.c2, asc.Range(drawing.bbox.catBBox.c1, drawing.bbox.catBBox.r1, drawing.bbox.catBBox.c2,
drawing.bbox.catBBox.r2, true), false, stroke_color); drawing.bbox.catBBox.r2, true), false, AscCommonExcel.c_oAscFormulaRangeBorderColor[2]);
} }
var BB = drawing.bbox.seriesBBox; var BB = drawing.bbox.seriesBBox;
var range = asc.Range(BB.c1, BB.r1, BB.c2, BB.r2, true); var range = asc.Range(BB.c1, BB.r1, BB.c2, BB.r2, true);
......
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