mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 22:37:26 +01:00
TAChart: Add TBoxAndWhiskerSeries.AddXY function overload
git-svn-id: trunk@33027 -
This commit is contained in:
parent
7d2ebbe7a9
commit
baf5c775f7
@ -83,6 +83,9 @@ type
|
||||
procedure GetLegendItems(AItems: TChartLegendItems); override;
|
||||
function GetSeriesColor: TColor; override;
|
||||
public
|
||||
function AddXY(
|
||||
AX, AYLoWhisker, AYLoBox, AY, AYHiBox, AYHiWhisker: Double;
|
||||
AXLabel: String = ''; AColor: TColor = clTAColor): Integer; overload;
|
||||
procedure Assign(ASource: TPersistent); override;
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
@ -272,6 +275,14 @@ end;
|
||||
|
||||
{ TBoxAndWhiskerSeries }
|
||||
|
||||
function TBoxAndWhiskerSeries.AddXY(
|
||||
AX, AYLoWhisker, AYLoBox, AY, AYHiBox, AYHiWhisker: Double; AXLabel: String;
|
||||
AColor: TColor): Integer;
|
||||
begin
|
||||
Result := AddXY(
|
||||
AX, AYLoWhisker, [AYLoBox, AY, AYHiBox, AYHiWhisker], AXLabel, AColor);
|
||||
end;
|
||||
|
||||
procedure TBoxAndWhiskerSeries.Assign(ASource: TPersistent);
|
||||
begin
|
||||
if ASource is TBoxAndWhiskerSeries then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user