Commit f17b2e358a5997834fff06ada172ae3d11c091b3
1 parent
6e0fdbf9
Exists in
master
and in
84 other branches
solving 8782
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
js/app/models/PlotObjects/PlotPanelObject.js
... | ... | @@ -342,6 +342,8 @@ Ext.define('amdaPlotObj.PlotPanelObject', { |
342 | 342 | if (success) { |
343 | 343 | if (emptyPanel && !me.isComponent) |
344 | 344 | me.changePlotType(data.panel.plotType); |
345 | + if(data.panel.isotropic) | |
346 | + me.setIsotropic(data.panel.isotropic); | |
345 | 347 | |
346 | 348 | if (data.draw && !me.isComponent) { |
347 | 349 | availableDrawingObjects = recs[0].getAvailableDrawingObjectByPlotType(me.get('panel-plot-type')); |
... | ... | @@ -495,6 +497,12 @@ Ext.define('amdaPlotObj.PlotPanelObject', { |
495 | 497 | return true; |
496 | 498 | }, |
497 | 499 | |
500 | + setIsotropic: function (isotropic){ | |
501 | + if(this.get('panel-plot-type') != 'xyPlot') | |
502 | + return; | |
503 | + this.set('panel-scatter-isotropic', isotropic); | |
504 | + }, | |
505 | + | |
498 | 506 | changePlotType: function(plotType) { |
499 | 507 | if (plotType == this.get('panel-plot-type')) |
500 | 508 | return; |
... | ... |