mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 12:02:48 +02:00
TAChart: Fix brush settings in pie series drawing
git-svn-id: trunk@21888 -
This commit is contained in:
parent
4101d61d99
commit
93c6ee37a6
@ -890,6 +890,9 @@ begin
|
|||||||
|
|
||||||
graphCoord := Source[i];
|
graphCoord := Source[i];
|
||||||
angleStep := graphCoord^.Y / Source.ValuesTotal * 360 * 16;
|
angleStep := graphCoord^.Y / Source.ValuesTotal * 360 * 16;
|
||||||
|
ACanvas.Pen.Color := clBlack;
|
||||||
|
ACanvas.Pen.Style := psSolid;
|
||||||
|
ACanvas.Brush.Style := bsSolid;
|
||||||
ACanvas.Brush.Color :=
|
ACanvas.Brush.Color :=
|
||||||
ColorOrDefault(graphCoord^.Color, Colors[i mod MaxColor + 1]);
|
ColorOrDefault(graphCoord^.Color, Colors[i mod MaxColor + 1]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user