Hello,
Is it possible to have only the graduation of an axis, and not the labels ? I would like to hide the labels or customize them without touching the graduation.
This would be an exemple of what i would like to do :
Hide Axis Labels
Hi,
one way to do this would be to make invisible the non desired axis labels using the OnGetAxisLabel event, using similar code to the following :
Here you can customize which ones can be showed,.. or simply hide all and then use the Canvas TextOut methid to display the labels you want.
one way to do this would be to make invisible the non desired axis labels using the OnGetAxisLabel event, using similar code to the following :
Code: Select all
procedure TForm1.Chart1GetAxisLabel(Sender: TChartAxis;
Series: TChartSeries; ValueIndex: Integer; var LabelText: String);
begin
if Sender = Chart1.axes.left then
Labeltext := ' '
end;
Pep Jorge
http://support.steema.com
http://support.steema.com