1. #1
    Ext User
    Join Date
    Sep 2009
    Posts
    5
    Vote Rating
    0
    brunovazdemelo is on a distinguished road

      0  

    Default Problem Whit Legend in Chart

    Problem Whit Legend in Chart


    Hello,

    I Have this graphic:


    and I need put one lengend per line, how I can do this?

    I put this:

    extraStyle: {
    legend:
    {
    display: 'bottom',
    padding: 10,
    width:100,
    spacing: 5,
    font:
    {
    family: 'Arial',
    size: 9
    }
    }
    },

    Thanks,

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    The legends would be displayed below each other if you used display:'left' or 'right'.

    If you want to keep using 'bottom' then you could try inserting <br /> tags in the legend texts (don't know if that works...).

  3. #3
    Ext User
    Join Date
    Sep 2009
    Posts
    5
    Vote Rating
    0
    brunovazdemelo is on a distinguished road

      0  

    Default


    I have problem whit the width in my box, because of this i need the legend in botton, i can't put '</br>' in the text, i don't set this in legend.

Thread Participants: 1