fix bug 34094

This commit is contained in:
Oleg Korshul 2017-03-03 14:22:44 +03:00
parent a715009eee
commit f5bf4a3f11

View file

@ -1032,7 +1032,12 @@ define([
chartObject = this.api.asc_getChartObject(); chartObject = this.api.asc_getChartObject();
if (!_.isUndefined(chartObject) && value && value.length > 0) { if (!_.isUndefined(chartObject) && value && value.length > 0) {
var intValue = parseInt(value);
chartObject[propertyMethod](parseInt(value)); chartObject[propertyMethod](parseInt(value));
if ("putDataLabelsPos" == propertyMethod && intValue != 0)
chartObject["putShowVal"](true);
this.api.asc_editChartDrawingObject(chartObject); this.api.asc_editChartDrawingObject(chartObject);
} }
}, },