TAChart: Fix brush settings in pie series drawing

git-svn-id: trunk@21888 -
This commit is contained in:
ask 2009-09-27 08:13:42 +00:00
parent 4101d61d99
commit 93c6ee37a6

View File

@ -890,6 +890,9 @@ begin
graphCoord := Source[i];
angleStep := graphCoord^.Y / Source.ValuesTotal * 360 * 16;
ACanvas.Pen.Color := clBlack;
ACanvas.Pen.Style := psSolid;
ACanvas.Brush.Style := bsSolid;
ACanvas.Brush.Color :=
ColorOrDefault(graphCoord^.Color, Colors[i mod MaxColor + 1]);