Commit c5efd482 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 25677 - Диаграмма типа "point" вставляется без графика

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57512 954022d7-b5bf-4e40-9824-e11837661b57
parent e7217b6a
...@@ -667,6 +667,20 @@ CGraphicObjects.prototype = ...@@ -667,6 +667,20 @@ CGraphicObjects.prototype =
c_oAscChartTypeSettings.barNormal), parsedHeaders: {bLeft: true, bTop: true}}; c_oAscChartTypeSettings.barNormal), parsedHeaders: {bLeft: true, bTop: true}};
ret = this.getChartSpace(chartSeries, options); ret = this.getChartSpace(chartSeries, options);
} }
if(type === c_oAscChartTypeSettings.scatter)
{
var new_hor_axis_settings = new asc_ValAxisSettings();
new_hor_axis_settings.setDefault();
options.putHorAxisProps(new_hor_axis_settings);
var new_vert_axis_settings = new asc_ValAxisSettings();
new_vert_axis_settings.setDefault();
options.putVertAxisProps(new_vert_axis_settings);
options.putHorGridLines(c_oAscGridLinesSettings.major);
options.putVertGridLines(c_oAscGridLinesSettings.major);
options.putShowMarker(true);
options.putSmooth(null);
options.putLine(false);
}
options.type = null; options.type = null;
this.applyPropsToChartSpace(options, ret); this.applyPropsToChartSpace(options, ret);
ret.theme = this.document.theme; ret.theme = this.document.theme;
......
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