TAChart: Redraw chart after axis list change

git-svn-id: trunk@30186 -
This commit is contained in:
ask 2011-04-04 16:25:13 +00:00
parent ecc941f2f6
commit c654edd5c9

View File

@ -233,6 +233,7 @@ type
procedure InitAndSort(AList: TFPList; ACompare: TListSortCompare);
protected
function GetOwner: TPersistent; override;
procedure Update(AItem: TCollectionItem); override;
public
constructor Create(AOwner: TCustomChart);
destructor Destroy; override;
@ -977,6 +978,12 @@ begin
a.FAlignment := AXIS_INDEX[AIndex];
end;
procedure TChartAxisList.Update(AItem: TCollectionItem);
begin
Unused(AItem);
FChart.Invalidate;
end;
{ TAxisCoeffHelper }
constructor TAxisCoeffHelper.Init(