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
    Vote Rating
    0
    Answers
    1
    djaytwt is on a distinguished road

      0  

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

    Unanswered: 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
    Last edited by djaytwt; 12 Jan 2012 at 5:35 AM. Reason: added Iphone and Android Device Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,581
    Vote Rating
    433
    Answers
    3100
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

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

      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
    720
    Vote Rating
    29
    Answers
    66
    Farish has a spectacular aura about Farish has a spectacular aura about

      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