1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    56
    Answers
    1
    Vote Rating
    2
    korax is on a distinguished road

      0  

    Default Answered: Using chart themes with ext-debug.js

    Answered: Using chart themes with ext-debug.js


    I'm unable to create charts using ext-debug.js in my development application. An exception is thrown:

    Code:
    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:

    Code:
    Ext.Loader.require('Ext.chart.theme.Base');
    The error is:

    Code:
    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).

  2. 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:

    Code:
    Ext.require('Ext.chart.*');
    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. :/

  3. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    56
    Answers
    1
    Vote Rating
    2
    korax is on a distinguished road

      0  

    Default


    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:

    Code:
    Ext.require('Ext.chart.*');
    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. :/

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar