1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    10
    Vote Rating
    0
    ashiso is on a distinguished road

      0  

    Default Unanswered: Add PieChart to View

    Unanswered: Add PieChart to View


    Hello,

    I've followed the Getting Started Guide (http://vimeo.com/37974749) to the end, and now I want to replace the Blog-view with a simple PieChart.
    In the future I'd like to read the Chart Data from a store ..

    I'm a bit Puzzled now as for what Sencha Touch Version supports Charts at all? It seems there are differences in the commercial and the GPL versions. Which one should I use?

    Then, the next step would be to add a chart to the view. So far my view looks like this:
    Code:
    Ext.define('todon.view.Chart', {    extend: "Ext.Panel",
        xtype: "chart",
        requires: [
            'Ext.chart.Chart'
       ],
        
       config: 
       {
            title: 'Chart',
            iconCls: 'chart1',
            background: 'white',
            layout:'fit',
       }
    });
    Where and how do I add the chart now?
    I've found the documentation at http://docs.sencha.com/touch/2-1/#!/....AbstractChart but it I don't get how I can add a simple Pie Chart to my view?

    Any starters in the right direction are welcome. I'm a newbie at Sencha Touch - starting to build my first app! :-)

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,791
    Answers
    3465
    Vote Rating
    833
    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


    The commercial version doesn't have charts, you would need to have Sencha Complete to get the commercial version of charts.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    Jul 2011
    Posts
    10
    Vote Rating
    0
    ashiso is on a distinguished road

      0  

    Default


    Well that doesn't exactly answer my question as to how I include a chart but as I'm going with the sencha-commercial version I will do my own thing. Thanks!

    Can I set the status to answered? If not, somebody do it please

Thread Participants: 1

Tags for this Thread

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..." hd porno faketaxi