Commit d4b2212d authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34227

parent 41104fe5
......@@ -3100,8 +3100,12 @@ DrawingObjectsController.prototype =
if(chart_type.getObjectType() === AscDFH.historyitem_type_BarChart)
{
var bChangedGrouping = false;
if(chart_type.grouping !== need_groupping)
{
chart_type.setGrouping(need_groupping);
bChangedGrouping = true;
}
if(!AscFormat.isRealNumber(chart_type.gapWidth))
{
......@@ -3116,10 +3120,10 @@ DrawingObjectsController.prototype =
}
else
{
/*if(chart_type.overlap !== null)
if(bChangedGrouping && chart_type.overlap !== null)
{
chart_type.setOverlap(null);
}*/
}
}
axis_by_types = chart_type.getAxisByTypes();
......
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