mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 15:39:20 +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);
|
procedure InitAndSort(AList: TFPList; ACompare: TListSortCompare);
|
||||||
protected
|
protected
|
||||||
function GetOwner: TPersistent; override;
|
function GetOwner: TPersistent; override;
|
||||||
|
procedure Update(AItem: TCollectionItem); override;
|
||||||
public
|
public
|
||||||
constructor Create(AOwner: TCustomChart);
|
constructor Create(AOwner: TCustomChart);
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -977,6 +978,12 @@ begin
|
|||||||
a.FAlignment := AXIS_INDEX[AIndex];
|
a.FAlignment := AXIS_INDEX[AIndex];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TChartAxisList.Update(AItem: TCollectionItem);
|
||||||
|
begin
|
||||||
|
Unused(AItem);
|
||||||
|
FChart.Invalidate;
|
||||||
|
end;
|
||||||
|
|
||||||
{ TAxisCoeffHelper }
|
{ TAxisCoeffHelper }
|
||||||
|
|
||||||
constructor TAxisCoeffHelper.Init(
|
constructor TAxisCoeffHelper.Init(
|
||||||
|
Loading…
Reference in New Issue
Block a user