TAChart: Move clTAColor to TAChartUtils. Fix error message.

git-svn-id: trunk@20151 -
This commit is contained in:
ask 2009-05-24 01:38:30 +00:00
parent 608612c9e0
commit e93779cdaa
3 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -33,7 +33,6 @@ uses
TAChartUtils, TATypes;
const
clTAColor = clScrollBar;
LEGEND_SPACING = 5;
type

View File

@ -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;