Results 1 to 3 of 3

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

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7778 in 4.2.3.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,017
    Vote Rating
    125
      0  

    Default [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
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Location
    Tokyo
    Posts
    1
    Vote Rating
    0
      0  

    Default bug still exists in Ext JS 4.2.2

    Hiya, apparently this bug still exists in Ext JS 4.2.2. According to our engineer the labels and the data lines both go wrong in Ext JS 4.2.2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •