-
14 Jun 2012 5:46 AM #11
-
14 Jun 2012 6:02 AM #12
Charts
Charts
I was hoping this release candidate would fix a problem with the charts I've seen in 4.1.1 rc1 (worked fine in 4.1.0 rc3), but it's still broken in 4.1.1 rc2. I'm seeing my chart data go off the display in weird ways. Is this a bug or was there a chart API change in 4.1.1 that I'm not aware of?
-
14 Jun 2012 8:52 AM #13
Do you have an example of the chart issue you mention? Is there a bug report?
Scott.
-
14 Jun 2012 9:25 AM #14
No, I haven't created an official bug report. I didn't take the time to do it yet because it would be time consuming to fully document my scenario because my configuration is complex - I have to cover a lot of corner cases for missing data. Guess I should though...
I had to experiment a lot to figure out what to use for a missing value in a series, e.g. NaN, -1, 0, MAX_INT, etc. Some of these worked and some didn't. I didn't see any documentation that said what to do for missing data - the chart widget doesn't seem to handle the case well. And I'm guessing something changed between 4.1.0 and 4.1.1 in this area.Last edited by wufpack_jack; 14 Jun 2012 at 9:28 AM. Reason: Addition
-
14 Jun 2012 3:21 PM #15
Following YKEY'slead; it would be pretty nice to see what is slated to make the list for 4.2. I understand some items are currently slated:
1) accordion docked item border irregularities (EXTJSIV-3034)
2) checkbox model defaults to SINGLE instead of MULTI (EXTJSIV-5273)
3) comma separated selectors in controller's control method (EXTJSIV-5102)
4) textfields won't work in a menu staring in 4.1 (EXTJSIV-5807) *would be really nice to have fixed
Some other stuff that'd be nice to have pop up in 4.2 would be:
1) tree store filter - one that works like the store filter for grids where any matching element is shown not just the first item matching
2) the ability to manage the css for a mask individually
3) getting the column index returned on an itemclick (et al) like in 3.4 (EXTJSIV-5012)
4) having a store's field's convert method execute on record changes (more here)
5) the ability to use store: { type: 'myxtype' }on tree stores like I can on grids (EXTJSIV-5757)
6) a load event for grid/combo like with tree (EXTJSIV-6094)
7) grouping feature: toggleCollapse (EXTJSIV-5746)
8) triggerfield triggerclick event for controller event handling (more here)
9) expanded columnheader click events (more here)
And finally, I think this one fell into the "I don't think so, bub" category, but one last appeal: closable config on all buttons not just tab extending from button (more here).
-
15 Jun 2012 7:04 AM #16
Hi, and thanks a lot.
Can we have some news about these bugs ?
http://www.sencha.com/forum/showthre...slated-buttons
http://www.sencha.com/forum/showthre...-t-as-expected
Thanks !
-
15 Jun 2012 7:16 AM #17
Have a look at:
http://www.sencha.com/forum/showthread.php?200321
As for EXTJSIV-3298, this is marked as fixed. What version of ExtJS 4 are you using?
http://www.sencha.com/forum/showthre...-Now-Available
Can you provide a working test case?
Scott.
-
15 Jun 2012 7:34 AM #18
Yep :
Code:<html> <head> <title>ExtJs 4.1 - combobox setValue bug</title> <!-- Ext includes --> <link rel="stylesheet" type="text/css" href="extjs-4.1.1-rc2/resources/css/ext-all.css" /> <script type="text/javascript" src="extjs-4.1.1-rc2/ext-all.js"></script> <script type="text/javascript"> Ext.Loader.setConfig({ enabled: true }); Ext.require([ 'Ext.form.field.ComboBox', 'Ext.form.FieldSet', 'Ext.tip.QuickTipManager', 'Ext.data.*' ]); Ext.onReady(function() { Ext.tip.QuickTipManager.init(); // Define the model for a State Ext.define('State', { extend: 'Ext.data.Model', fields: [ {type: 'string', name: 'abbr'}, {type: 'string', name: 'name'}, {type: 'int', name: 'id'} ], idProperty: 'id' }); // The data for all states var states = [ {"abbr":"AL","name":"Alabama","id":1}, {"abbr":"AK","name":"Alaska","id":2}, {"abbr":"AZ","name":"Arizona","id":3}, {"abbr":"AR","name":"Arkansas","id":4}, {"abbr":"CA","name":"California","id":5} ]; // The data store holding the states; shared by each of the ComboBox examples below var store = Ext.create('Ext.data.Store', { model: 'State', data: states }); // Simple ComboBox using the data store var simpleCombo = Ext.create('Ext.form.field.ComboBox', { fieldLabel: 'Select a single state', renderTo: Ext.getBody(), width: 320, labelWidth: 130, store: store, queryMode: 'local', typeAhead: true, valueField: 'id', displayField: 'abbr' }); Ext.create('Ext.Button', { text: 'Set Value with quote', renderTo: Ext.getBody(), handler: function() { simpleCombo.setValue('2'); alert("simpleCombo.setValue('2');"); } }); Ext.create('Ext.Button', { text: 'Set Value without quote', renderTo: Ext.getBody(), handler: function() { simpleCombo.setValue(4); alert("simpleCombo.setValue(4);"); } }); }); </script> </head> <body> <form id="history-form" class="x-hide-display"> <input type="hidden" id="x-history-field" /> <iframe id="x-history-frame"></iframe> </form> </body> </html>
-
15 Jun 2012 8:09 AM #19
Good job on bug fixes, especially with the grids.
I tested it out and found a bug with a buffered store (also using gouping feature and rowbody feature) which appeared after 4.1.1 rc1. Calling refresh on the tableview of the grid generates an error. The getOffsetsTo fails when trying to calculate the scroll offset (preserveScrollOnRefresh is true)...rafael
-
15 Jun 2012 10:42 AM #20
Hm, have just started upgdating to 4.1.1 rc2, and as always my app doesn't work, can anybody tell me
where is reader#rawData-property????



Reply With Quote