Commit a74a5f60 authored by Sergey Luzyanin's avatar Sergey Luzyanin

for bug 34097

parent 78748bb1
...@@ -3904,6 +3904,13 @@ CCatAx.prototype = ...@@ -3904,6 +3904,13 @@ CCatAx.prototype =
this.setMinorTickMark(minorTickMark); this.setMinorTickMark(minorTickMark);
bChanged = true; bChanged = true;
} }
if(bChanged){
if(this.spPr && this.spPr.ln && this.spPr.ln.Fill
&& this.spPr.ln.Fill.fill && this.spPr.ln.Fill.fill.type === window['Asc'].c_oAscFill.FILL_TYPE_NOFILL
&& (this.majorTickMark !== c_oAscTickMark.TICK_MARK_NONE || this.minorTickMark !== c_oAscTickMark.TICK_MARK_NONE)){
this.spPr.setLn(null);
}
}
if(AscFormat.isRealNumber(tickLabelsPos) && this.tickLblPos !== tickLabelsPos) if(AscFormat.isRealNumber(tickLabelsPos) && this.tickLblPos !== tickLabelsPos)
{ {
...@@ -5533,6 +5540,13 @@ CValAx.prototype = ...@@ -5533,6 +5540,13 @@ CValAx.prototype =
this.setMinorTickMark(props.minorTickMark); this.setMinorTickMark(props.minorTickMark);
bChanged = true; bChanged = true;
} }
if(bChanged){
if(this.spPr && this.spPr.ln && this.spPr.ln.Fill
&& this.spPr.ln.Fill.fill && this.spPr.ln.Fill.fill.type === window['Asc'].c_oAscFill.FILL_TYPE_NOFILL
&& (this.majorTickMark !== c_oAscTickMark.TICK_MARK_NONE || this.minorTickMark !== c_oAscTickMark.TICK_MARK_NONE)){
this.spPr.setLn(null);
}
}
if(AscFormat.isRealNumber(props.tickLabelsPos) && this.tickLblPos !== props.tickLabelsPos) if(AscFormat.isRealNumber(props.tickLabelsPos) && this.tickLblPos !== props.tickLabelsPos)
{ {
......
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