Results 1 to 3 of 3

Thread: Doughnut chart becomes pie chart for single data set, any fix ?

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    70
    Vote Rating
    0
      0  

    Default Doughnut chart becomes pie chart for single data set, any fix ?

    Hi I created a Doughnut chart using below code

    Ext.define('Ext.chart.Chart', {
    themeCls: 'pie1',
    theme: 'Demo',
    store: store1,
    shadow: false,
    animate: true,
    insetPadding: 20,
    series: [
    { type: 'pie',
    donut : 70,
    field: '2007',
    showInLegend: true,
    highlight: false,
    label: {
    field: 'name'
    }
    }
    ]
    });

    but when there is only one data set then this Doughnut becomes pie chart. Please have a look at images for more details. Can anyone let me know the solution for this ?
    Attached Images Attached Images
    Last edited by mukeshgla; 23 Aug 2012 at 11:38 PM. Reason: attachement missed

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Is this using Touch Charts 2 beta or Sencha Touch 2.1.0?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    70
    Vote Rating
    0
      0  

    Default

    its Touch Charts 2 beta

Posting Permissions

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