You found a bug! We've classified it as EXTJS-8113 . 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
    974
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      1  

    Default [4.2b] Chart Axis length and width doesn't work

    [4.2b] Chart Axis length and width doesn't work


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.2 beta
    Browser versions tested against:
    • Chrome
    • IE9
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    • The length and width settings of the Chart Axis appears to be not working.
    Steps to reproduce the problem:
    • Just run the sample
    The result that was expected:
    • Any effect of the length and width settings
    The result that occurs instead:
    • I can't see any difference with those settings and without
    • Actually, I am trying to shift "Monday" to the right. Not 100% sure what exactly I should use - length or width.
    Test Case:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <title>Chart axis length and width</title>
    
        <link rel="stylesheet" href="../resources/css/ext-all.css" />
        
        <script src="../ext-all-debug.js"></script>
    
        <script>
            Ext.onReady(function () {
                Ext.create(Ext.chart.Chart, {
                    renderTo: Ext.getBody(),
                    height: 400,
                    width: 400,
                    axes: [{
                        type: "Category",
                        position: "bottom",
                        title: "Day",
                        fields: ["day"],
                        length: 100,
                        width: 100
                    }, {
                        type: "Numeric",
                        position: "left",
                        title: "Y",
                        fields: ["y"]
                    }],
                    series: [{
                        type: "line",
                        title: "Chart",
                        xField: "day",
                        yField: "y"
                    }],
                    store: {
                        fields: [{
                            name: "day"
                        }, {
                            name: "y"
                        }],
                        data: [{
                            day: "Monday",
                            y: 0
                        }, {
                            day: "Tuesday",
                            y: 50
                        }]
                    }
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>

    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
    Gainesville, FL
    Posts
    36,791
    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


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    128
    Vote Rating
    1
    Tod is on a distinguished road

      0  

    Default


    Is this still broken? I'm not able to set the width/length of the axis. I have two charts and want the data in them to line up. I could do this if I could force the width of the vertical axis.

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