From 56ad05d079fb42246e2f8b90a5a1e24c9cd9b552 Mon Sep 17 00:00:00 2001 From: elena Date: Wed, 16 Sep 2015 16:07:30 +0200 Subject: [PATCH] lightware chart --- js/app/views/VisuUI.js | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/js/app/views/VisuUI.js b/js/app/views/VisuUI.js index 2eac20a..fdc38bf 100644 --- a/js/app/views/VisuUI.js +++ b/js/app/views/VisuUI.js @@ -134,13 +134,10 @@ Ext.define('amdaUI.VisuUI', { } } }); - - me.chartStore.load(); - + + me.chartStore.load(); } - - - + AmdaAction.initForChart(this.object.get('id'), this.object.get('objName'), this.fromPlugin, 'catalog', onAfterInit); @@ -197,8 +194,9 @@ Ext.define('amdaUI.VisuUI', { this.chartConfig = { width: 500, height: 500, - animate: true, - mask: true, + animate: false, + mask: false, + shadow: false, // theme:'Category2', store: store, axes: [{ @@ -216,10 +214,11 @@ Ext.define('amdaUI.VisuUI', { }], series: [{ type: 'scatter', - markerConfig: { - radius: 5, - size: 5 - }, + showMarkers: false, +// markerConfig: { +// radius: 5, +// size: 5 +// }, // // axes: ['left', 'bottom'], xField: '', yField: '', @@ -231,12 +230,12 @@ Ext.define('amdaUI.VisuUI', { } }], listeners: { - select: { - fn: function(me, selection) { - me.setZoom(selection); - me.mask.hide(); - } - } +// select: { +// fn: function(me, selection) { +// me.setZoom(selection); +// me.mask.hide(); +// } +// } } } -- libgit2 0.21.2