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. Image for the cookie policy date
close icon

simple pie programmatically

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

thanks,

Fabrice


5 Replies

MA Mohammed Azarudeen Syncfusion Team 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.

Thanks,

Mohammed Azarudeen.


Attachment: PieSeries_4dfc6e97.zip


FF fff 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

?

Thanks,

Fabrice



SJ Sumathi Jayaraj Syncfusion Team 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.

Regards,
Sumathi J

Attachment: PieSeries_d9d9e34b.zip


FF fff September 10, 2014 07:46 PM UTC

Thanks you !

Fabrice



SJ Sumathi Jayaraj Syncfusion Team September 11, 2014 06:03 AM UTC

Hi Fabrice,

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

Regards,
Sumathi J

Loader.
Up arrow icon