Page 1 of 1

Pie Slice Border question

Posted: Wed May 20, 2009 11:36 am
by 9092401
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.

Posted: Wed May 20, 2009 2:45 pm
by narcis
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.

Posted: Thu May 21, 2009 7:03 am
by 9092401
Thanks

Re: Pie Slice Border question

Posted: Wed Jun 17, 2009 9:04 am
by narcis
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.