Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 205

Summary: [TV52015211] Pie an donut series are not painted correctly with some rotation angl...
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: narcis
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Screenshots showing the problem.

Description narcís calvet 2013-11-20 10:03:27 EST
Pie an donut series are not painted correctly with some rotation angles. This occurs both in GDI and GDI+. Code snippet below to reproduce the issue and attached some screenshots.
uses Series, TeeDonut, TeeGDIPlus, TeCanvas;

procedure TForm1.FormCreate(Sender: TObject);
var Series1 : TDonutSeries;
 g : TGDIPlusCanvas;
begin
 Series1:=TDonutSeries.Create(Self);
 Series1.EdgeStyle:=edFlat;
 Series1.BevelPercent:=30;
 Series1.DonutPercent:=40;
 Series1.AddPie(849, 'Cars');
 Series1.AddPie(51, 'Tables');
 Series1.AddPie(51, 'Phones');

 g:=TGDIPlusCanvas.Create;
 Chart1.Canvas:=g;
 Chart1.AddSeries(Series1);
 Chart1.Chart3DPercent:=50;
end;
It works a little better in .NET:
Steema.TeeChart.Styles.Donut donut1 = new Steema.TeeChart.Styles.Donut(tChart1.Chart);

 donut1.EdgeStyle = Steema.TeeChart.Drawing.EdgeStyles.Flat;
 donut1.BevelPercent = 30;
 donut1.DonutPercent = 40;
 donut1.Add(849, "Cars");
 donut1.Add(51, "Tables");
 donut1.Add(51, "Phones");

 tChart1.Aspect.Chart3DPercent = 50; [created:2010-10-15T09:53:26.000+01:00 reported by:narcis@steema.com reported in version:2010.01.11004 (TeeChart VCL)]
Comment 1 narcís calvet 2015-04-16 04:13:01 EDT
Created attachment 425 [details]
Screenshots showing the problem.
Comment 2 narcís calvet 2015-04-16 04:17:25 EDT
Attached screen-shots from the original problem. It's still present but in less areas.