We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

simple pie programmatically

Thread ID:





117212 Sep 7,2014 11:28 AM UTC Sep 11,2014 06:03 AM UTC WPF 5
Tags: Chart
Asked On September 7, 2014 11:28 AM UTC

Hi SF,

Can you please give a short example how to programmatically on-the-fly create a simple pie in wpf/C# ?

simple pie with :

  • 3 datas (as example)
  • define color for each 3 slices
  • define 3 attached labels for each slice
  • define legend of pie



Mohammed Azarudeen [Syncfusion]
Replied On September 8, 2014 05:35 AM UTC

Hi fff,

We have analyzed your requirement and we have prepared the sample based on your requirement. Please find the attached sample below.

Please let us know if this helps.


Mohammed Azarudeen.

Attachment: PieSeries_4dfc6e97.zip

Replied On September 8, 2014 11:56 AM UTC

Thanks Mohammed,

Would you have an example with no MVVM , no model(s) at all, no other functions ?

(only as you first part of code=simply create the control, with sets parameters, display & voila !)

Because I have an application completely dynamic where all controls are created dynamically & I can not start to have 1to3 additional functions per control ... and I do not want to put one additional abstraction layer in this case




Sumathi Jayaraj [Syncfusion]
Replied On September 9, 2014 08:37 AM UTC

Hi fff,

We have analyzed your requirements and we have modified the sample based on your requirements. Please find the sample in the following attachment.

Please let us know if you have any queries.

Sumathi J

Attachment: PieSeries_d9d9e34b.zip

Replied On September 10, 2014 07:46 PM UTC

Thanks you !


Sumathi Jayaraj [Syncfusion]
Replied On September 11, 2014 06:03 AM UTC

Hi Fabrice,

Please let us know if you require further assistance on this.

Sumathi J


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon