TAxisItems.Clear
TAxisItems
procedure Clear; override;
Unit
TeEngine
Description
Removes all custom axis label objects from list.
Axis will display all labels using default properties.
with Chart1.Axes.Left do
begin
Items.Clear; // remove all custom labels
// add custom labels
Items.Add(123,'Hello').Font.Size:=16;
Items.Add(466,'Good'#13'Bye').Transparent:=False;
Items.Add(300);
with Items.Add(-100) do
begin
Transparent:=False;
Transparency:=50;
Color:=clBlue;
end;
end;