Having some trouble searching through the examples and the documentation on how to create following pie chart.
With some trail and error I got following result
I'm working with Xamarin Forms version
So several quesiotns.
1. What ( and how ) is the best solution to have each slice exploded ( so not only the biggest )? I did pie.ExplodedSlice.Add(...) for each slice but this seems to have no effect...
2. Current version has a fine border around each slice, how can I get rid of this? Or can this also be used to fix 1.? If I can make it wider and white?
Pie chart details
Re: Pie chart details
Hello Bank,
Hoping this helps you.
Thanks in advance
I'm afraid isn't possible do slice exploded for each slice, but you have same effect setting the Pie Border pen as white and increasing its size. The code below shows you how can do it:1. What ( and how ) is the best solution to have each slice exploded ( so not only the biggest )? I did pie.ExplodedSlice.Add(...) for each slice but this seems to have no effect...
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Dock = DockStyle.Fill;
Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);
pie1.FillSampleValues(3);
pie1.Marks.Visible = false;
pie1.Pen.Color = Color.White;
pie1.AutoPenColor = false;
pie1.Pen.Width = 10;
}
You can do that you need disable the AutoPenColor propierty. The line code below shows you how:2. Current version has a fine border around each slice, how can I get rid of this? Or can this also be used to fix 1.? If I can make it wider and white?
Code: Select all
pie1.AutoPenColor = false;
Hoping this helps you.
Thanks in advance
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Pie chart details
Hey Sandra,
Thanks for the reply!
Trying out the Pen color and width settings, but somehow the pen width is only applied to 1 of the slices and only the outerbound?
Thanks for the reply!
Trying out the Pen color and width settings, but somehow the pen width is only applied to 1 of the slices and only the outerbound?
Re: Pie chart details
Hello Bank Van Breda,
Sorry for the delay.
I would like inform you we have reproduced and fixed the Pie.Pen Size problem. Tomorrow, we add a new Steema.TeeChart.NET.STD.Xamarin.Forms maintenance release in the Nuget where the fix is included.
Thanks in advance
Sorry for the delay.
I would like inform you we have reproduced and fixed the Pie.Pen Size problem. Tomorrow, we add a new Steema.TeeChart.NET.STD.Xamarin.Forms maintenance release in the Nuget where the fix is included.
Thanks in advance
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Pie chart details
Wow Sandra, that is awesome news.
Only 1 small remark, currently I downloaded the Xamarin version : TeeChartXamarinForms-4.1.2018.01040-osx.zip from the client area on the website.
We reference those dll's inside our xamarin project.
So will there be an update for those too? Currently we are still working with PCL projects in Xamarin.
Only 1 small remark, currently I downloaded the Xamarin version : TeeChartXamarinForms-4.1.2018.01040-osx.zip from the client area on the website.
We reference those dll's inside our xamarin project.
So will there be an update for those too? Currently we are still working with PCL projects in Xamarin.
Re: Pie chart details
Hello Bank van Breda,
We can prepare a pre-release for you during this week. We contact with you, as soon as possible when the version is done.
Thanks in advance
We can prepare a pre-release for you during this week. We contact with you, as soon as possible when the version is done.
Thanks in advance
Best Regards,
Sandra Pazos / 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 |
Re: Pie chart details
Hello Bank van Breda,
We have already published a new assemblies. You can download this from Client Area.
Thanks in advance
We have already published a new assemblies. You can download this from Client Area.
Thanks in advance
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Pie chart details
Yes!
Thanks for the quick fix. Pie chart is looking perfect now!
Thanks for the quick fix. Pie chart is looking perfect now!