View Full Version : Using chart themes with ext-debug.js

15 Aug 2011, 9:15 AM
I'm unable to create charts using ext-debug.js in my development application. An exception is thrown:

uncaught exception: No theme found named "Base"

...or whatever theme I try to use. Everything's fine when using ext-all-debug.js, but I can't compile my app using the SDK tools with that version of the framework. Can anyone tell me what I'm doing wrong? Is there a specific class I should require using the loader?

If I try to include the base theme like this:


The error is:

Ext.chart.series is undefined

So obviously there's some issue with ext-debug.js and charting, or I don't understand how to use ext-debug.js with the charting package (although I don't have a problem developing with any other part of ExtJS).

18 Aug 2011, 9:23 AM
For anyone interested, I've found that the entire chart package must be included in order for charts to work when using ext-debug.js:


I'd previously tried to include just the chart or chart theming classes to no avail. As far as I can tell, this isn't documented anywhere. I think a Guide in the docs that details how Ext.Loader works, and how it interacts with the various debug and release builds of ExtJS, would be extremely helpful. If the information is there in total (which I don't believe it is), it's currently too disparate to be of use.

I'll mark this answered, even though I've answered it myself. :/