Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    27
    Answers
    1
    Vote Rating
    1
    RuBenKlunZ is on a distinguished road

      0  

    Default Answered: Touch-2.1.0-RC1 pie chart performLayout

    Answered: Touch-2.1.0-RC1 pie chart performLayout


    Hi all,

    Today I tried the rc1 of touch-2.1.0 and I wanted to render a pie chart, but all I get is this error:
    Code:
    Uncaught TypeError: Object [object Object] has no method 'performLayout'
    Which I find quite odd, since the only forum post about this I found was that the issue was fixed in beta3 of this release.

    The chart I use is build like this:

    Code:
    var store = new Ext.data.JsonStore({
        fields:    ['period', 'value'],
        data:    [{'period': '10-2011','value': '42'},
                  {'period': '11-2011',    'value': '18'},
                  {'period': '12-2011',    'value': '27'},
                  {'period': '01-2012',    'value': '8'},
                  {'period': '02-2012',    'value': '19'}]
    });
    
    
    Ext.define('MCT.view.TestChart', {
        extend:    'Ext.chart.AbstractChart',
        alias:    'widget.testchart',
        
        config: {
            width:        500,
            height:        300,
            animate:        false,
            store:            store,
            theme:            'Base',
            insetPadding:    20,
            showMarkers:    true,
            series:    [{
                type:        'pie',
                angleField:    'value',
                highlight: {
                    margin:    20
                },
                label: {
                    field:        'period',
                    display:    'rotate',
                    contrast:    true,
                    font:        '18px Arial'
                }
            }]
        }
    });
    Is there anyone else who still has this problem?

  2. The Pie chart the kitchensink is using doesn't use AbstractChart, it uses the PolarChart.

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