Commit 4f2d6498 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33744

parent a6075610
......@@ -4291,7 +4291,12 @@ DrawingObjectsController.prototype =
ret.putShowCatName(data_labels.showCatName === true);
ret.putShowVal(data_labels.showVal === true);
ret.putSeparator(data_labels.separator);
ret.putDataLabelsPos(AscFormat.isRealNumber(data_labels.dLblPos) ? data_labels.dLblPos : nDefaultDatalabelsPos);
if(data_labels.showSerName || data_labels.showCatName || data_labels.showVal){
ret.putDataLabelsPos(AscFormat.isRealNumber(data_labels.dLblPos) ? data_labels.dLblPos : nDefaultDatalabelsPos);
}
else{
ret.putDataLabelsPos(c_oAscChartDataLabelsPos.none);
}
}
else
{
......
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