Pie Slice Border question

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Pie Slice Border question

Post by qcrnd » Wed May 20, 2009 11:36 am

Hi
I have two questions regarding the pie chart
I would like to remove the border between the slices but and still have a border around the whole chart circle.
I played with the Pen property but found it effect both the lines between the slices and the circle border. I would like to keep the circle border and remove the border between each sice.

Also I did see that I can change the color of the border. It is always the same , Only the transparency has an effect. How can I control the border color.
Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed May 20, 2009 2:45 pm

Hi qcrnd,
I would like to remove the border between the slices but and still have a border around the whole chart circle.
I played with the Pen property but found it effect both the lines between the slices and the circle border. I would like to keep the circle border and remove the border between each sice.
This is not possible for now. I aded your request to the wish-list to be consdiered for inclusion in future releases.
Also I did see that I can change the color of the border. It is always the same , Only the transparency has an effect. How can I control the border color.
I'm afraid this is a bug. I've added it (TF02014171) to the defect list to be fixed for next releases.
Best Regards,
Narcís Calvet / 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

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Post by qcrnd » Thu May 21, 2009 7:03 am

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Pie Slice Border question

Post by Narcís » Wed Jun 17, 2009 9:04 am

Hi qcrnd,

We found that code below works fine for us here:

Code: Select all

		public Form1()
		{
			InitializeComponent();
			InitializeChart();
		}

		private void InitializeChart()
		{
			Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);

			pie1.Add(1, Color.Red);
			pie1.Add(2, Color.White);
			pie1.Add(3, Color.Blue);
			pie1.ColorEach = false;
			pie1.Pen.Color = Color.Lime;
		}
The issue is that when ColorEach=true the series draws the pen.color "automatically". Can you please check this works fine at your end?

Thanks in advance.
Best Regards,
Narcís Calvet / 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