Threaded View
-
28 Apr 2012 10:59 PM #1
Cannot zoom chart
Cannot zoom chart
I'm using ExtJS 4.1-rc2 and trying to zoom chart. I'm following the code sample for the 'mask' config and 'select' event from the api doc and here is my code for the chart:
and I'm getting the UI like:Code:Ext.widget("chart", { style : 'background:#fff', animate : true, shadow : false, store : this.chartStore, itemId : 'mychart', mask : true, legend : { position : 'bottom' }, listeners : { select : { fn : function(me, selection) { me.setZoom(selection); me.mask.hide(); } } }, axes : [{ type : 'Numeric', position : 'left', fields : this.numericFields, title : EasyAdmin.Locale .localize("Usage Level"), grid : { odd : { opacity : 0.7, fill : '#ddd', stroke : '#bbb', 'stroke-width' : 0.5 } } }, { type : 'Time', position : 'bottom', dateFormat : EAUtil.getDateFormat(), fields : this.timeFields, title : EasyAdmin.Locale.localize("Date"), label : { rotate : { degrees : -90 } }, grid : true }], series : this.series });
chart.jpg
And when I'm trying to zoom by trying to select any region or clicking then nothing happens! Also not getting any mask element that I can use to select region.
Thank you for reporting this bug. We will make it our priority to review this report.




Reply With Quote