TAChart: Restore default color when TRandomChartSource.RandomColors is false.

This commit is contained in:
wp_xyz 2022-01-30 14:02:29 +01:00
parent 34f156c0b9
commit 9a87e2953c

View File

@ -1337,7 +1337,10 @@ begin
end;
end;
if FRandomColors then
FCurItem.Color := GetRandomColor;;
FCurItem.Color := GetRandomColor
else
FCurItem.Color := clTAColor;
end;
Result := @FCurItem;
end;