Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7553 in a recent build.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    977
    Vote Rating
    113
    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

      0  

    Default [4.1.2] Gauge axis ignores labelTitle

    [4.1.2] Gauge axis ignores labelTitle


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.2
    Browser versions tested against:
    • Chrome
    • FireFox
    • IE9
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    • Gauge axis ignores labelTitle
    Steps to reproduce the problem:
    • Just run the sample
    The result that was expected:
    • The labelTitle setting does affect, i.e. the "Gauge" title is red and 50 font size.
    The result that occurs instead:
    • The labelTitle setting doesn't affect.
    Test Case:

    Code:
    <!DOCTYPE html>
    
    <html>
    <head>
        <title>Gauge axis ignores labelTitle</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: 300,
                    width: 300,
                    axes: [{                    
                        type: "Gauge",
                        position: "gauge",
                        margin: -10,
                        maximum: 100.0,
                        minimum: 0.0,
                        steps: 2.0,
                        title: "Gauge",
                        labelTitle: {
                            fill: "red",
                            "font-size": "50"
                        }
                    }],
                    series: [{
                        type: "gauge",
                        angleField: "x"
                    }],
                    store: {
                        autoLoad: true,
                        fields: [{
                            name: "x"
                        }],
                        proxy: {
                            type: "memory",
                            data: [{
                                "x": 50
                            }]
                        }
                    }
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>
    HELPFUL INFORMATION

    Operating System:
    • Windows 7

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    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
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

Thread Participants: 1