mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 05:38:15 +02:00
TAChart: Move clTAColor to TAChartUtils. Fix error message.
git-svn-id: trunk@20151 -
This commit is contained in:
parent
608612c9e0
commit
e93779cdaa
@ -36,6 +36,7 @@ const
|
||||
Colors: array [1..MaxColor] of TColor = (
|
||||
clRed, clGreen, clYellow, clBlue, clWhite, clGray, clFuchsia,
|
||||
clTeal, clNavy, clMaroon, clLime, clOlive, clPurple, clSilver, clAqua);
|
||||
clTAColor = clScrollBar;
|
||||
CHART_COMPONENT_IDE_PAGE = 'Chart';
|
||||
|
||||
type
|
||||
|
@ -33,7 +33,6 @@ uses
|
||||
TAChartUtils, TATypes;
|
||||
|
||||
const
|
||||
clTAColor = clScrollBar;
|
||||
LEGEND_SPACING = 5;
|
||||
|
||||
type
|
||||
|
@ -481,7 +481,7 @@ end;
|
||||
function TChartSeries.ListSource: TListChartSource;
|
||||
begin
|
||||
if not (Source is TListChartSource) then
|
||||
raise EFixedSourceRequired.Create('Fixed chart source required');
|
||||
raise EFixedSourceRequired.Create('Editable chart source required');
|
||||
Result := Source as TListChartSource;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user