Using Transparency for a pie chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Using Transparency for a pie chart

Post by UserLS » Thu Oct 02, 2008 2:59 pm

When I try to set up a pie chart with transparency other then 0 and using rounded bevel - colors and slice borders are all messed up. Are you going to fix this issue?

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

Post by Narcís » Thu Oct 02, 2008 3:12 pm

Hi Profitstar,

I'm not able to reproduce this problem here using latest TeeChart for .NET v3 maintenance release available at the client area and code snippet below. Which TeeChart version are you using? Could you please modify code below or send us a simple example project we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Code: Select all

			Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);

			pie1.FillSampleValues();

			pie1.BevelPercent = 20;
			pie1.Transparency = 60;
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

UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Post by UserLS » Thu Oct 02, 2008 4:15 pm

We are using latest version available for VS2008 (downloaded last week)

Here is the code, which will show the problem:

Code: Select all

            Pie pie1 = new Pie(TChart1.Chart);
            pie1.FillSampleValues();
            pie1.BevelPercent = 20;
            pie1.Transparency = 60;
            pie1.EdgeStyle = EdgeStyles.Curved;
If you will add Other Slice to it, the problem becomes even more visible:

Code: Select all

            Pie pie1 = new Pie(TChart1.Chart);
            pie1.FillSampleValues();
            pie1.BevelPercent = 20;
            pie1.Transparency = 60;
            pie1.EdgeStyle = EdgeStyles.Curved;
            pie1.OtherSlice.Style = PieOtherStyles.BelowPercent;
            pie1.OtherSlice.Value = 10;

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

Post by Narcís » Fri Oct 03, 2008 7:38 am

Hi Profitstar,

Thanks for the information. I could reproduce the issue here now and added it (TF02013426) 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

Post Reply