Results 1 to 3 of 3

Thread: Problem Whit Legend in Chart

  1. #1
    Ext User
    Join Date
    Sep 2009
    Posts
    5
    Vote Rating
    0
      0  

    Default 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
    119
      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
      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.

Posting Permissions

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