[SSE] Refactoring
This commit is contained in:
parent
0e492b6134
commit
2ae33bdfb2
|
@ -50,8 +50,7 @@ define([
|
|||
SSE.Views.ChartDataDialog = Common.Views.AdvancedSettingsWindow.extend(_.extend({
|
||||
options: {
|
||||
contentWidth: 370,
|
||||
height: 490,
|
||||
buttons: null
|
||||
height: 490
|
||||
},
|
||||
|
||||
initialize : function(options) {
|
||||
|
@ -111,10 +110,7 @@ define([
|
|||
'</div></div>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"></div>',
|
||||
'<div class="footer center">',
|
||||
'<button class="btn normal dlg-btn" result="cancel" style="width: 86px;">' + this.closeButtonText + '</button>',
|
||||
'</div>'
|
||||
'<div class="separator horizontal"></div>'
|
||||
].join('')
|
||||
}, options);
|
||||
|
||||
|
|
|
@ -186,12 +186,12 @@ define([
|
|||
(this.inputRange1.getValue()!=='') && this.lblRange1.html('= ' + series.getName());
|
||||
if (this.props.isScatter) {
|
||||
this.inputRange2.setValue(series.asc_getXValues());
|
||||
(this.inputRange2.getValue()!=='') && this.lblRange2.html('= ' + series.asc_getXValuesArr().join(';'));
|
||||
(this.inputRange2.getValue()!=='') && this.lblRange2.html('= ' + series.asc_getXValuesArr().join('; '));
|
||||
this.inputRange3.setValue(series.asc_getYValues());
|
||||
(this.inputRange3.getValue()!=='') && this.lblRange3.html('= ' + series.asc_getYValuesArr().join(';'));
|
||||
(this.inputRange3.getValue()!=='') && this.lblRange3.html('= ' + series.asc_getYValuesArr().join('; '));
|
||||
} else {
|
||||
this.inputRange2.setValue(series.asc_getValues());
|
||||
(this.inputRange2.getValue()!=='') && this.lblRange2.html('= ' + series.asc_getValuesArr().join(';'));
|
||||
(this.inputRange2.getValue()!=='') && this.lblRange2.html('= ' + series.asc_getValuesArr().join('; '));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue