Results 1 to 3 of 3

Thread: needed multiple piechart with labels inside number of div depends on json data return

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default needed multiple piechart with labels inside number of div depends on json data return

    Hi All,

    I am looking for a solution where i need to add a number of containers in different divs.
    Where each container will have some display values in label and a pie chart based on the some json integer value.

    Looking for some solution with example.
    I tried to generate below code format with XTemplate but with that i was not able to add pie chart component to it.

    Finally output should be something like

    <div id="scrollerDiv">
    <div id="1"> -container component having two display labels and pie chart corresponding to json first label and chart related value - </div>
    <div id="2"> -container component having two display labels and pie chart corresponding to json first label and chart related value - </div>
    ....

    </div>


    Any help you can provide would be greatly appreciated.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,317
    Vote Rating
    1291
      0  

    Default

    So based on the response determines the number of containers you want to render?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Sep 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Yes and each container will have data that will create a pie chart inside the container and some label with value.

    Quote Originally Posted by mitchellsimoens View Post
    So based on the response determines the number of containers you want to render?

Tags for this Thread

Posting Permissions

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