1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Default Unanswered: pie chart in sencha2

    i have added a pie chart in my sencha2 application,which is following the mvc architecture. i have added touch-charts-demo.css & touch-charts.js in my index.html page. but the problem is that pie is getting displayed with overlapping all the slices,means its showing only one circle without any slice. how can i get the pie chart,plz help me out?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,458
    Vote Rating
    1112
    Answers
    3691
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    Are you using the sencha touch JS and CSS file that is with the touch charts release?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Default

    i have added sencha touch JS and CSS file,bt i am getting error like

    Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: Ext.util.MixedCollection in sencha-touch.js 3152

    Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: Ext.util.MixedCollection in Dispatcher.js

    Failed to load resource: the server responded with a status of 404 (Not Found) in Dom.js

    Failed to load resource: the server responded with a status of 404 (Not Found) in CompositeElementLite.js

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Location
    Chennai, Tamil Nadu
    Posts
    24
    Vote Rating
    0
    Jay Tanwar is on a distinguished road

      0  

    Default

    Quote Originally Posted by madhumita View Post
    i have added sencha touch JS and CSS file,bt i am getting error like
    add the following code

    Code:
    Ext.Loader.setConfig({enabled: true});

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Default

    that code is already added.bt still its not working.

  6. #6
    Sencha User
    Join Date
    Sep 2011
    Location
    Chennai, Tamil Nadu
    Posts
    24
    Vote Rating
    0
    Jay Tanwar is on a distinguished road

      0  

    Default app.js Code plzz

    Quote Originally Posted by madhumita View Post
    that code is already added.bt still its not working.
    Can you quote your "app.js" code here..!

  7. #7
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Default

    my app.js file is as follow

    Ext.Loader.setConfig({ enabled: true });
    Ext.application({
    name: 'sample',

    controllers: ['Enter']
    });

Thread Participants: 2