TAChart: Fix abstract method warning issued for run-time generated TConstantLine series (issue #0027123).

git-svn-id: trunk@47070 -
This commit is contained in:
wp 2014-12-03 15:01:07 +00:00
parent 0d41b20eaa
commit b5e5e8a230

View File

@ -245,7 +245,6 @@ type
procedure GetLegendItems(AItems: TChartLegendItems); override;
public
procedure Assign(ASource: TPersistent); override;
procedure Draw(ADrawer: IChartDrawer); override;
published
property AxisIndexX;
@ -290,6 +289,7 @@ type
function GetNearestPoint(
const AParams: TNearestPointParams;
out AResults: TNearestPointResults): Boolean; override;
function IsEmpty: Boolean; override;
procedure MovePoint(var AIndex: Integer; const ANewPos: TDoublePoint); override;
published
@ -828,6 +828,11 @@ begin
Result := FPen.Color;
end;
function TConstantLine.IsEmpty: Boolean;
begin
Result := false;
end;
procedure TConstantLine.MovePoint(
var AIndex: Integer; const ANewPos: TDoublePoint);
begin