fix bug 34094
This commit is contained in:
parent
a715009eee
commit
f5bf4a3f11
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue