Results 1 to 4 of 4

Thread: Pie Chart , Legends Text does-not Resizes with device

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    19
    Answers
    1
    Vote Rating
    0
      0  

    Default Pie Chart , Legends Text does-not Resizes with device

    Hi,
    I am implementing the Pie chart ,Text looks fine when viewing on Chrome browser, but when viewed on device ,the text within the Pie chart is going out of chart, it doesnt resizes according to screen,
    how to set the Font family, font Size of Text displayed
    Iphone 4ChartIphone4.jpg

    Android Device it appears like this (X-peria Ray)
    ChartAndroid-Xperia-Ray.png
    Attached Images Attached Images
    Last edited by djaytwt; 12 Jan 2012 at 5:35 AM. Reason: added Iphone and Android Device Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    Hyderabad, India
    Posts
    117
    Answers
    6
    Vote Rating
    5
      0  

    Default

    Hi djaytwt,

    can you post some code what you are mentioning in the series config. Because am not facing any issue regarding the Pie chart label and Legend, It's automatically getiing resize according to the screen.
    Regards,
    Nag.

  4. #4
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Answers
    113
    Vote Rating
    100
      0  

    Default

    Hi Naga,

    I have the same problem with pie chart labels. The font size of the labels does not resize according to device screen size. Here is my series:

    Code:
    {
      type: 'pie',  
      field: 'calls',
      donut: 25,
      showInLegend: true,
      highlight: false,
      label:{
        field: 'name'
      }
    }
    what should I add/change in the above to make the font-size of the labels to adapt according to current window size/device screen size? I am using Touch Charts 1 (not Touch Charts 2 Beta) because of some display problems in the latter.

    Regards,
    Farish

Posting Permissions

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