From 1a32220f1e4c4d4d99718630ba701b1aaa6d2a38 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 4 Jul 2017 17:13:09 +0300 Subject: [PATCH] [SSE] Fix Bug 35296. --- apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js index 25a956663..dcf98fae2 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js @@ -1288,7 +1288,6 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template' if (this._changedProps) { this._changedProps.asc_setType(rawData.type); } - this.chartSettings.asc_setType(rawData.type); this._state.SparkType = rawData.type; var changed = false, @@ -1305,7 +1304,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template' this.cmbEmptyCells.setValue((rawData.type !== Asc.c_oAscSparklineType.Line && value==Asc.c_oAscEDispBlanksAs.Span) ? this.textEmptyLine : value); } - this.updateSparkStyles(this.chartSettings.asc_getStyles()); + this.updateSparkStyles(this.chartSettings.asc_getStyles(rawData.type)); },