mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 17:55:55 +02:00
TAChart: Simplified variant of TSeries.AddXY
git-svn-id: trunk@19137 -
This commit is contained in:
parent
52d21f4396
commit
fea9d0eef9
@ -76,7 +76,8 @@ type
|
||||
property YGraphMax: Double read FYGraphMax write FYGraphMax;
|
||||
|
||||
function Count: Integer; override;
|
||||
function AddXY(X, Y: Double; XLabel: String; Color: TColor): Longint; virtual;
|
||||
function AddXY(X, Y: Double; XLabel: String; Color: TColor): Longint; virtual; overload;
|
||||
function AddXY(X, Y: Double): Longint; virtual; overload;
|
||||
function Add(AValue: Double; XLabel: String; Color: TColor): Longint; virtual;
|
||||
procedure Delete(AIndex: Integer); virtual;
|
||||
procedure Clear;
|
||||
@ -439,6 +440,10 @@ begin
|
||||
Result := AddXY(XVal + 1, AValue, XLabel, Color);
|
||||
end;
|
||||
|
||||
function TChartSeries.AddXY(X, Y: Double): Longint;
|
||||
begin
|
||||
AddXY(X, Y, '', clTAColor);
|
||||
end;
|
||||
|
||||
procedure TChartSeries.Delete(AIndex:Integer);
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user