PDA

View Full Version : Demo charts vs 4.1 example charts



mikevspec
31 May 2012, 9:56 AM
Is there a different version of ExtJs being used for the demos than the current? When I open the console for the Bar Chart example (http://dev.sencha.com/deploy/ext-4.0.0/examples/charts/Bar.html) and do the following commands the chart redraws perfectly.



Ext.getCmp('chartCmp').surface.removeAll()
Ext.getCmp('chartCmp').redraw()


When I attempt to do the same with extjs 4.1gpl with the provided examples the chart doesn't redraw at all.

I ask because I am having various label issues with redrawing in 4.1.

skirtle
31 May 2012, 1:59 PM
Where did you find the URL for that demo? That's the old ExtJS 4.0.0 demo, it's not the one I see when I go through the main Sencha site.

To check the version type this into the console:


Ext.getVersion().toString()

mikevspec
31 May 2012, 6:06 PM
I just googled "extjs demos" and it was the first result (https://www.google.com/search?sugexp=chrome,mod=17&sourceid=chrome&ie=UTF-8&q=extjs+demos).

Thanks for the version code.