polar bar series axis labels
-
- Newbie
- Posts: 34
- Joined: Tue Nov 04, 2008 12:00 am
polar bar series axis labels
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
Hi BlueMonkey,
You can try with the OnGetCircleLabel event to customize the text shown at each label:
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;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |