Page 1 of 1

Rotation direction of Pie graph (clock- & counter-clockw

Posted: Fri Apr 13, 2007 5:04 am
by 9526208
Any possiblity of getting a direction of rotation control for Pie graphs?

Currently pie graphs rotate in a counter-clockwise direction. Microsoft Excel, however, seems to change the angle in a clockwise direction. It would be very nice if there was a control that lets a user go between clockwise and counterclockwise.


Thanks,
juan

Posted: Fri Apr 13, 2007 7:34 am
by narcis
Hi Juan,

I'm afraid this is not possible for now. I've added your request to our wish-list to be considered for inclusion in future releases.

Posted: Tue Oct 02, 2007 7:28 am
by narcis
Hi Juan,

This can be done right now using the following code :

Code: Select all

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
// counter clockwise
Series1.Rotate(10);
end;

procedure TForm1.BitBtn2Click(Sender: TObject);
begin
// clockwhise direction
Series1.Rotate(-10);
end;