Merge pull request #878 from ONLYOFFICE/fix/bugfix
[SSE mobile] Fix Bug 50398
This commit is contained in:
commit
1032c0edfd
|
@ -284,7 +284,9 @@ define([
|
||||||
chartType == Asc.c_oAscChartTypeSettings.lineStacked ||
|
chartType == Asc.c_oAscChartTypeSettings.lineStacked ||
|
||||||
chartType == Asc.c_oAscChartTypeSettings.lineStackedPer ||
|
chartType == Asc.c_oAscChartTypeSettings.lineStackedPer ||
|
||||||
chartType == Asc.c_oAscChartTypeSettings.stock ||
|
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(
|
dataLabelPos.push(
|
||||||
{ value: Asc.c_oAscChartDataLabelsPos.l, displayValue: me.textLeft },
|
{ value: Asc.c_oAscChartDataLabelsPos.l, displayValue: me.textLeft },
|
||||||
{ value: Asc.c_oAscChartDataLabelsPos.r, displayValue: me.textRight },
|
{ 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-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');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue