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
    Vote Rating
    1
    Answers
    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
    St. Louis, MO
    Posts
    34,122
    Vote Rating
    453
    Answers
    3161
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    That should work, may possibly be a bug.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    15
    Vote Rating
    1
    Answers
    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

Tags for this Thread