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

Bug 25563 - Искажение серий диаграмм типа Column и Bar при экспорте

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57410 954022d7-b5bf-4e40-9824-e11837661b57
parent a40a3a36
......@@ -2216,6 +2216,9 @@ DrawingObjectsController.prototype =
new_chart_type.setBarDir(need_bar_dir);
new_chart_type.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === need_groupping)
new_chart_type.setOverlap(100);
axis_by_types = new_chart_type.getAxisByTypes();
val_axis = axis_by_types.valAx;
for(i = 0; i < val_axis.length; ++i)
......
......@@ -9537,6 +9537,8 @@ function CreateBarChart(chartSeries, type)
bar_chart.addSer(series);
}
bar_chart.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === type)
bar_chart.setOverlap(100);
bar_chart.addAxId(cat_ax);
bar_chart.addAxId(val_ax);
cat_ax.setScaling(new CScaling());
......@@ -9696,6 +9698,8 @@ function CreateHBarChart(chartSeries, type)
//d_lbls.setShowLegendKey(false);
//d_lbls.setShowVal(true);
bar_chart.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === type)
bar_chart.setOverlap(100);
bar_chart.addAxId(cat_ax);
bar_chart.addAxId(val_ax);
cat_ax.setScaling(new CScaling());
......
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