From 4145b0a443518e763049e80374d358313d3b54ca Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 14 May 2021 13:24:54 +0300 Subject: [PATCH] [SSE mobile] Fix Bug 50398 --- .../mobile/app/controller/edit/EditChart.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js b/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js index e81b34ca7..0bacfd0e2 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js +++ b/apps/spreadsheeteditor/mobile/app/controller/edit/EditChart.js @@ -284,7 +284,9 @@ define([ chartType == Asc.c_oAscChartTypeSettings.lineStacked || chartType == Asc.c_oAscChartTypeSettings.lineStackedPer || chartType == Asc.c_oAscChartTypeSettings.stock || - chartType == Asc.c_oAscChartTypeSettings.scatter) { + chartType == Asc.c_oAscChartTypeSettings.scatter || + chartType == Asc.c_oAscChartTypeSettings.scatterSmoothMarker || chartType == Asc.c_oAscChartTypeSettings.scatterSmooth || + chartType == Asc.c_oAscChartTypeSettings.scatterLineMarker || chartType == Asc.c_oAscChartTypeSettings.scatterLine) { dataLabelPos.push( { value: Asc.c_oAscChartDataLabelsPos.l, displayValue: me.textLeft }, { value: Asc.c_oAscChartDataLabelsPos.r, displayValue: me.textRight }, @@ -897,7 +899,8 @@ define([ ); $('#chart-vaxis').data('page', needReverse ? '#edit-chart-horizontal-axis': '#edit-chart-vertical-axis'); - $('#chart-haxis').data('page', (needReverse || chartType == Asc.c_oAscChartTypeSettings.scatter) ? '#edit-chart-vertical-axis': '#edit-chart-horizontal-axis'); + $('#chart-haxis').data('page', (needReverse || chartType == Asc.c_oAscChartTypeSettings.scatter || chartType == Asc.c_oAscChartTypeSettings.scatterSmoothMarker || chartType == Asc.c_oAscChartTypeSettings.scatterSmooth || + chartType == Asc.c_oAscChartTypeSettings.scatterLineMarker || chartType == Asc.c_oAscChartTypeSettings.scatterLine) ? '#edit-chart-vertical-axis': '#edit-chart-horizontal-axis'); },