Contents  All Classes  Index A-Z  All Units


TAxisItems.Add
TAxisItems

function Add(Const Value: Double): TAxisItem; overload;

Unit
TeEngine

Description
Adds a new custom axis label to list.
Returns axis item object representing the new label.

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;



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.