mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-01 07:43:45 +02:00
TAChart: Redraw chart after axis list change
git-svn-id: trunk@30186 -
This commit is contained in:
parent
ecc941f2f6
commit
c654edd5c9
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user