Pie Chart, Pie Seperators

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

Pie Chart, Pie Seperators

Post by mikethelad » Fri Sep 21, 2012 8:14 am

Is it possible to change the Pie Chart, Pie Seperators from black to white and to also increase the thickness?
Attachments
graph.JPG
graph.JPG (14.32 KiB) Viewed 4420 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Pie Chart, Pie Seperators

Post by Sandra » Fri Sep 21, 2012 10:33 am

Hello mikethelad,

To achieve change color of the Pie Chart border you only need disable the colorEach of pie Series. You can do something as next code:

Code: Select all

  private void InitializeChart()
    {
        Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1);
        pie1.Add(1, Color.Red);
        pie1.Add(2, Color.White);
        pie1.Add(3, Color.Blue);
        pie1.ColorEach = false;
        pie1.Pen.Color = Color.Lime;
    }
Can you tell us if previous code works as you want?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mikethelad
Newbie
Newbie
Posts: 58
Joined: Thu Jul 05, 2012 12:00 am

Re: Pie Chart, Pie Seperators

Post by mikethelad » Fri Sep 21, 2012 3:14 pm

Thanks, works

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Pie Chart, Pie Seperators

Post by Sandra » Mon Sep 24, 2012 9:31 am

Hello mikethelad,

I am glad my solution has worked fine for you :D.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply