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
    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
    Gainesville, FL
    Posts
    37,125
    Answers
    3504
    Vote Rating
    855
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    Hyderabad, India
    Posts
    117
    Answers
    6
    Vote Rating
    5
    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
    1,094
    Answers
    112
    Vote Rating
    96
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      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