Results 1 to 3 of 3

Thread: pie not displayed as donut

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    15
    Answers
    1
    Vote Rating
    1
      0  

    Default pie not displayed as donut

    Sometimes i only have one single value in my data item, n while creating a pie chart out of it.
    i get a chart as a circle but i m looking for display this chart with donut. i.e. as empty inner circle in a pie



    Code:
    window.store1 = new Ext.data.JsonStore({
                fields: ['year', 'value','iname'],
                data: [{name: '2008', value: '90',iname: '29'},]
    	});
    ......
    
    Ext.chart.Panel({
    
    
    
    	        store: store1,
           		animate:true,
                    series: [{
    	               type: 'pie',
                           field: 'value',
    	               donut: 50,
    	               label: {
    	                	contrast: true,
    		                field: ['name'],
    		                }
    		       }],
    })
    Is there a possible way to achieve it.

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

    Default

    That should work, may possibly be a bug.
    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
    Jul 2009
    Posts
    15
    Answers
    1
    Vote Rating
    1
      0  

    Default

    @simoens
    it does not work, seems to me as bug as i checked it with sencha-chart 2.0 beta and touch-chart debug.js as well
    bug reported on http://www.sencha.com/forum/showthre...586#post828586

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
  •