1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    BrindleFly is on a distinguished road

      0  

    Default Unanswered: Cannot create an instance of unrecognized alias: series.pie

    Unanswered: Cannot create an instance of unrecognized alias: series.pie


    I have extended the Portlet example to include displaying a pie chart. I am running 4.0.2a. I get an exception
    Uncaught Ext.Error: Cannot create an instance of unrecognized alias: series.pie ext-core-dev.js:8336
    The portlet extends Panel and the Pie chart is defined via an xtype "chart", with a series containing a type of "pie". Any help would be appreciated.

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    BrindleFly is on a distinguished road

      0  

    Default


    Here is the full stack trace:

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Did you add charts to your require() list?

    Scott.

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    BrindleFly is on a distinguished road

      0  

    Default


    Yes. Any other thoughts? Can change series to other types (e.g. "line") and all works fine. Just cannot get Pie chart to work.

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    BrindleFly is on a distinguished road

      0  

    Default


    Okay, I think I am all set. I upgraded to 4.1 and switched to including extjs-all.js instead of allclasses.js (which appear to be just the classes required for this example). Case closed. I only wish there was better documentation around the portal example.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."