1. #11
    Sencha Premium Member
    Join Date
    Feb 2009
    Location
    Glasgow, Scotland
    Posts
    316
    Vote Rating
    11
    Stuart-SwarmOnline will become famous soon enough Stuart-SwarmOnline will become famous soon enough

      0  

    Default


    Looks good Silve!

    Out of curiosity, what configs did you use to get the Pie Chart's legend vertical on the right hand side as opposed to horizontal underneath?

  2. #12
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Code:
     extraStyle: {
                    legend: {
                        display: 'right',
                        padding: 5,
                        font: {
                            family: 'Tahoma',
                            size: 13
                        }
                    }
                },

  3. #13
    Sencha Premium Member
    Join Date
    Feb 2009
    Location
    Glasgow, Scotland
    Posts
    316
    Vote Rating
    11
    Stuart-SwarmOnline will become famous soon enough Stuart-SwarmOnline will become famous soon enough

      0  

    Default


    Cheers Jay!

  4. #14
    Sencha Premium Member
    Join Date
    Mar 2007
    Posts
    171
    Vote Rating
    1
    mike1993 is on a distinguished road

      0  

    Default


    Quote Originally Posted by jgarcia@tdg-i.com View Post
    Can you post your code? I think this an excellent opportunity for me to assist.

    I've seen similar issues when working on the following Ext JS in Action Example.

    How did you rotate yAxis title?
    I cannot even find a single mention of 'labelRotation' in ext-all-debug.js

    Big thanks

    P.S. even the yAxis name/title was shown after I used yui.chart attribute "title". Using just 'displayName' did not have any effect on the chart.
    Code:
            yAxis: new Ext.chart.NumericAxis({
              title: 'Calls',
              displayName: 'Calls',
              labelRenderer : Ext.util.Format.numberRenderer('0,0')
            }),

  5. #15
    Ext JS Premium Member
    Join Date
    Aug 2007
    Posts
    14
    Vote Rating
    0
    Layne is on a distinguished road

      0  

    Default


    How did you rotate yAxis title?
    I cannot even find a single mention of 'labelRotation' in ext-all-debug.js
    Try out:
    Code:
    extraStyle: {
                        yAxis: {
                            titleRotation: -90
                        }
                    }
    Yeah, I can't find the documentation on this either.

    Anyone know how to dynamically change the axis title?

  6. #16
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Here you guy guys:


    http://extjsinaction.com/examples/ch...om_styles.html

    If you want an explanation of how it works, you're going to have to buy the book

  7. #17
    Sencha Premium Member
    Join Date
    Mar 2007
    Posts
    171
    Vote Rating
    1
    mike1993 is on a distinguished road

      0  

    Default


    Rotated title is not even visible. You can just see the part of the 1st letter.
    Attached Images

  8. #18
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    It works perfectly for me.