In a donut series with 12 equally sized segments, I have to ensure that segment 1..12 is exactly located at clock positions 1..12.
It is easy to rotate the series to achieve correct positioning.
But I have to use different rotation angles on the official TeeChart 2010 release and the latest sources that were sent as bugfix.
The chart would be totally confusing to the customer, if I could not guarantee the correct position.
Currently everything is ok, but what about future releases, do I have to adjust the rotation angle ?
I would prefer to have a well defined and constant start position for the first segment.
Regards
Gerhard Sachs
Start angle of donut series.
Re: Start angle of donut series.
Hi Gerhard,
I'm not sure to reproduce it. I'm running the following code in the latest published version and in the actual sources and I'm getting the same result.
Could you please try to modify the code above so we can see the difference here? Or, please, arrange a simple example project where we can see it.
I'm not sure to reproduce it. I'm running the following code in the latest published version and in the actual sources and I'm getting the same result.
Code: Select all
uses TeeDonut;
procedure TForm1.FormCreate(Sender: TObject);
var Series1: TDonutSeries;
begin
Series1:=Chart1.AddSeries(TDonutSeries) as TDonutSeries;
Series1.Add(20);
Series1.Add(10);
Series1.Add(20);
Series1.Add(25);
Series1.Add(25);
Series1.Shadow.Visible:=false;
Series1.RotationAngle:=90;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |