mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +02:00
TAChart: Fix typo in the method name: CopyForm -> CopyFrom. Update demos
git-svn-id: trunk@33132 -
This commit is contained in:
parent
79353aa2a5
commit
41f098ceb6
@ -35,7 +35,7 @@ implementation
|
||||
|
||||
procedure TForm1.tbCopyClick(Sender: TObject);
|
||||
begin
|
||||
Chart1BarSeries1.ListSource.CopyForm(DbChartSource1);
|
||||
Chart1BarSeries1.ListSource.CopyFrom(DbChartSource1);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
@ -66,6 +66,8 @@
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<GenerateDebugInfo Value="True"/>
|
||||
<DebugInfoType Value="dsAuto"/>
|
||||
<StripSymbols Value="True"/>
|
||||
</Debugging>
|
||||
<Options>
|
||||
|
@ -56,7 +56,7 @@ begin
|
||||
lcs1.Add(i, Random(100) / 50);
|
||||
clbNans.Items.Add(IntToStr(i));
|
||||
end;
|
||||
lcs2.CopyForm(lcs1);
|
||||
lcs2.CopyFrom(lcs1);
|
||||
end;
|
||||
|
||||
procedure TForm1.rgSeriesTypeClick(Sender: TObject);
|
||||
@ -71,7 +71,7 @@ procedure TForm1.rgXYClick(Sender: TObject);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
lcs1.CopyForm(lcs2);
|
||||
lcs1.CopyFrom(lcs2);
|
||||
for i := 0 to lcs1.Count - 1 do
|
||||
clbNansItemClick(nil, i);
|
||||
end;
|
||||
|
@ -52,7 +52,7 @@ type
|
||||
AX, AY: Double; const ALabel: String = '';
|
||||
AColor: TChartColor = clTAColor): Integer;
|
||||
procedure Clear;
|
||||
procedure CopyForm(ASource: TCustomChartSource);
|
||||
procedure CopyFrom(ASource: TCustomChartSource);
|
||||
procedure Delete(AIndex: Integer);
|
||||
function IsSorted: Boolean; override;
|
||||
function SetXValue(AIndex: Integer; AValue: Double): Integer;
|
||||
@ -398,7 +398,7 @@ begin
|
||||
FValuesTotalIsValid := true;
|
||||
end;
|
||||
|
||||
procedure TListChartSource.CopyForm(ASource: TCustomChartSource);
|
||||
procedure TListChartSource.CopyFrom(ASource: TCustomChartSource);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user