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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,779
    Answers
    3955
    Vote Rating
    1312
      0  

    Default

    Is this using Touch Charts 2 beta or Sencha Touch 2.1.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
    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
  •