Page 1 of 1

Using Transparency for a pie chart

Posted: Thu Oct 02, 2008 2:59 pm
by 14045174
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?

Posted: Thu Oct 02, 2008 3:12 pm
by narcis
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.

Posted: Thu Oct 02, 2008 4:15 pm
by 14045174
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;

Posted: Fri Oct 03, 2008 7:38 am
by narcis
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.