You found a bug! We've classified it as EXTJSIV-7778 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    678
    Vote Rating
    62
    Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough

      0  

    Default [4.1.3] Radial axis doesn't show labels if Store is configured with memory proxy

    [4.1.3] Radial axis doesn't show labels if Store is configured with memory proxy


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.3
    Browser versions tested against:
    • Chrome
    • IE9
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    • A Radial axis doesn't show labels if aStore is configured with a memory proxy. It works if a Store is configured with a "data" config option.
    Steps to reproduce the problem:
    • Just run the sample
    The result that was expected:
    • The "Apples", "Oranges", "Pears" radial labels.
    The result that occurs instead:
    • No radial labels.
    Test Case:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <title>RadialAxis labels</title>
    
        <link type="text/css" rel="stylesheet" href="../resources/css/ext-all.css" />
        
        <script type="text/javascript" src="../ext-all-debug.js"></script>
    
        <script type="text/javascript">
            Ext.onReady(function () {
                Ext.create("Ext.chart.Chart", {
                    renderTo: Ext.getBody(),
                    height: 400,
                    width: 500,
                    axes: [{
                        type: "Radial",
                        position: "radial"
                    }],
                    series: [{
                        type: "radar",
                        xField: "Name",
                        yField: "Data"                    
                    }],
                    store: {
                        autoLoad: true,
                        fields: [{
                                name: "Name"
                            }, {
                                name: "Data"
                            }],
                        /* It works */
                        /*data: [{
                                Name: "Apples",
                                Data: 10
                            }, {
                                Name: "Oranges",
                                Data: 15
                            }, {
                                Name: "Pears",
                                Data: 20
                            }],*/
                        proxy: {
                            type: "memory",
                            reader: {
                                type: "json"
                            },
                            data: [{
                                Name: "Apples",
                                Data: 10
                            }, {
                                Name: "Oranges",
                                Data: 15
                            }, {
                                Name: "Pears",
                                Data: 20
                            }]
                        }
                    }
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>


    HELPFUL INFORMATION


    Screenshots:
    • With the Store's data
    1.JPG
    • With the memory proxy

    2.JPG
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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