Commit 53da8ed3 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34547

parent 3e693f1b
...@@ -3369,6 +3369,10 @@ DrawingObjectsController.prototype = ...@@ -3369,6 +3369,10 @@ DrawingObjectsController.prototype =
if(chart.view3D) if(chart.view3D)
{ {
chart.setView3D(null); chart.setView3D(null);
chartSettings.bLine = true;
new_chart_type = new AscFormat.CLineChart();
replaceChart(plot_area, chart_type, new_chart_type);
checkSwapAxis(plot_area, chart_type, new_chart_type);
} }
if(chart.floor) if(chart.floor)
{ {
......
...@@ -8479,6 +8479,9 @@ CLineSeries.prototype = ...@@ -8479,6 +8479,9 @@ CLineSeries.prototype =
if(this.spPr && this.spPr.Fill && this.spPr.Fill.fill && this.spPr.Fill.fill.type === window['Asc'].c_oAscFill.FILL_TYPE_NOFILL){ if(this.spPr && this.spPr.Fill && this.spPr.Fill.fill && this.spPr.Fill.fill.type === window['Asc'].c_oAscFill.FILL_TYPE_NOFILL){
this.spPr.setFill(null); this.spPr.setFill(null);
} }
if(this.spPr && this.spPr.ln && 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.spPr.setLn(null);
}
} }
if(other.trendline) if(other.trendline)
this.setTrendline(other.trendline); this.setTrendline(other.trendline);
......
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