1. #1
    Banned
    Join Date
    Jan 2008
    Posts
    11
    Vote Rating
    0
    kiprud is on a distinguished road

      0  

    Default xtype: 'piechart'

    xtype: 'piechart'


    Hi,

    It's possible to make a piechart with sencha touch like in extjs ?*



    Code:
    Ext.chart.Chart.CHART_URL = '../../resources/charts.swf';
    
    Ext.onReady(function(){
        var store = new Ext.data.JsonStore({
            fields: ['season', 'total'],
            data: [{
                season: 'Summer',
                total: 150
            },{
                season: 'Fall',
                total: 245
            },{
                season: 'Winter',
                total: 117
            },{
                season: 'Spring',
                total: 184
            }]
        });
        
        new Ext.Panel({
            width: 400,
            height: 400,
            title: 'Pie Chart with Legend - Favorite Season',
            renderTo: 'container',
    
            items: {
                store: store,
                xtype: 'piechart',
                dataField: 'total',
                categoryField: 'season',
                //extra styles get applied to the chart defaults
                extraStyle:
                {
                    legend:
                    {
                        display: 'bottom',
                        padding: 5,
                        font:
                        {
                            family: 'Tahoma',
                            size: 13
                        }
                    }
                }
            }
    
        });
    });
    Bests regards.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    No, not yet. We have future plans for touch enabled charts.

  3. #3
    Banned
    Join Date
    Jan 2008
    Posts
    11
    Vote Rating
    0
    kiprud is on a distinguished road

      0  

    Default


    Wonderfull !!

  4. #4
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    I want one too!!! ;-)

    Any ideas as to how long in the future?

Similar Threads

  1. PieChart : Define slices colors
    By krankhaft in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 6 Jun 2012, 9:07 PM
  2. Legend does not show for piechart??
    By pitviper202002 in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 16 Sep 2009, 1:28 AM
  3. Piechart のバグ?
    By Tommy1969 in forum Japanese Sencha Forum
    Replies: 2
    Last Post: 8 Jul 2009, 3:14 AM
  4. PieChart wont display
    By valor in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 Jun 2009, 12:30 AM
  5. [3.??][HELP] Ext.chart.PieChart
    By RamsesAkaPus in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 29 May 2009, 7:26 AM

Thread Participants: 2

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