Commit 7790101b 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@57494 954022d7-b5bf-4e40-9824-e11837661b57
parent a22d2613
......@@ -2218,7 +2218,7 @@ DrawingObjectsController.prototype =
new_chart_type.setBarDir(need_bar_dir);
new_chart_type.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === need_groupping)
if(BAR_GROUPING_PERCENT_STACKED === need_groupping || BAR_GROUPING_STACKED === need_groupping)
new_chart_type.setOverlap(100);
axis_by_types = new_chart_type.getAxisByTypes();
......
......@@ -12293,7 +12293,7 @@ function CreateBarChart(chartSeries, type)
bar_chart.addSer(series);
}
bar_chart.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === type)
if(BAR_GROUPING_PERCENT_STACKED === type || BAR_GROUPING_STACKED === type)
bar_chart.setOverlap(100);
bar_chart.addAxId(cat_ax);
bar_chart.addAxId(val_ax);
......@@ -12454,7 +12454,7 @@ function CreateHBarChart(chartSeries, type)
//d_lbls.setShowLegendKey(false);
//d_lbls.setShowVal(true);
bar_chart.setGapWidth(150);
if(BAR_GROUPING_PERCENT_STACKED === type)
if(BAR_GROUPING_PERCENT_STACKED === type || BAR_GROUPING_STACKED === type)
bar_chart.setOverlap(100);
bar_chart.addAxId(cat_ax);
bar_chart.addAxId(val_ax);
......
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