Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    22
    Answers
    1
    Vote Rating
    0
    maxycini is on a distinguished road

      0  

    Default Unanswered: How to limit the legend label to 10 characters

    Unanswered: How to limit the legend label to 10 characters


    Is it possible to just show the first 10 characters of the label used in legend?

    Please check the image below where some of the labels are not completely visible. So would like to limit all legend labels to 10 characters.

    Can this be achieved using a renderer for the series?

    LEGEND.png

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    Hyderabad, India
    Posts
    117
    Answers
    6
    Vote Rating
    5
    Naga is on a distinguished road

      0  

    Default


    you can limit the labels by using
    Code:
                    label: {
                        renderer: function(val) {
                            
                                return val.substring(0, 10) + "...";
                            
                        }
                    }

Thread Participants: 1

Tags for this Thread