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
    shydreamz is on a distinguished road

      0  

    Default Unanswered: pie not displayed as donut

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Answers
    3541
    Vote Rating
    846
    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  

    Default


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

      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

Thread Participants: 1

Tags for this Thread