Page 1 of 1
polar bar series axis labels
Posted: Tue Mar 16, 2010 8:11 pm
by 10050727
The axis labels for a polar bar series may be 0 to 360 clockwise or counterclockwise from the positive x-axis. Is there a way to display axis labels as 0 to 180 counterclockwise from the positive axis and 0 to -180 clockwise from the positive x-axis?
Re: polar bar series axis labels
Posted: Wed Mar 17, 2010 9:26 am
by yeray
Hi BlueMonkey,
You can try with the OnGetCircleLabel event to customize the text shown at each label:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues();
Series1.CircleLabels:=true;
end;
procedure TForm1.Series1GetCircleLabel(Sender: TCustomPolarSeries;
const Angle: Double; Index: Integer; var Text: String);
begin
Text:=FloatToStr(360-Angle) + 'ยบ';
end;