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.
Pie Slice Border question
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
This is not possible for now. I aded your request to the wish-list to be consdiered for inclusion in future releases.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.
I'm afraid this is a bug. I've added it (TF02014171) to the defect list to be fixed for next 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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Pie Slice Border question
Hi qcrnd,
We found that code below works fine for us here:
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.
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;
}
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 |
Instructions - How to post in this forum |