diff --git a/components/tachart/talegend.pas b/components/tachart/talegend.pas index 0a833c91fc..32c98220f1 100644 --- a/components/tachart/talegend.pas +++ b/components/tachart/talegend.pas @@ -141,7 +141,8 @@ type TChartLegendBrush = class(TBrush) published - property Color default clWhite; + constructor Create; override; + property Color default clDefault; end; TLegendAlignment = ( @@ -371,6 +372,15 @@ begin inherited SetItem(AIndex, AValue); end; +{ TChartLegendBrush } + +constructor TChartLegendBrush.Create; +begin + inherited; + Color := clDefault; +end; + + { TLegendItem } constructor TLegendItem.Create(const AText: String; AColor: TColor);