![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Circular series radius wrong | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Android | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | narcis |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Working project | ||
Created attachment 463 [details]
Working project
Actually it's not a bug but the rendering sequence in Android is slightly different from WinForms. Those values have the correct value at a later stage. Running the code at TChart's AfterDraw event solves the problem as can be seen in the project attached.
|
XRadius and YRadius properties in Circular series have wrong values in Android. It works fine in Windows Forms and can be reproduced using the code below. tChart1.Aspect.View3D = false; tChart1.Legend.Visible = false; var pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart); pie1.Circled = true; pie1.Marks.Visible = false; pie1.Add(25); pie1.Add(25); pie1.Add(25); pie1.Add(25); tChart1.Draw(); int left; int top; pie1.AngleToPos(pie1.Angles[0].MidAngle, pie1.XRadius, pie1.YRadius, out left, out top);