diff --git a/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js b/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js index 42dc13fda..599e4a0a6 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js +++ b/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js @@ -1032,7 +1032,12 @@ define([ chartObject = this.api.asc_getChartObject(); if (!_.isUndefined(chartObject) && value && value.length > 0) { + var intValue = parseInt(value); chartObject[propertyMethod](parseInt(value)); + + if ("putDataLabelsPos" == propertyMethod && intValue != 0) + chartObject["putShowVal"](true); + this.api.asc_editChartDrawingObject(chartObject); } },