TAChart: Always draw axis arrows with solid pen.

git-svn-id: trunk@65422 -
This commit is contained in:
wp 2021-07-08 19:48:46 +00:00
parent eb20bb28bc
commit 2d8041f71d

View File

@ -751,6 +751,7 @@ begin
diag := -ADrawer.Scale(Round(Sqrt(Sqr(Length) + Sqr(Width)))); diag := -ADrawer.Scale(Round(Sqrt(Sqr(Length) + Sqr(Width))));
pt1 := AEndPos + RotatePointX(diag, AAngle - da)*sgn; pt1 := AEndPos + RotatePointX(diag, AAngle - da)*sgn;
pt2 := AEndPos + RotatePointX(diag, AAngle + da)*sgn; pt2 := AEndPos + RotatePointX(diag, AAngle + da)*sgn;
ADrawer.SetPenParams(psSolid, FPColorToTColor(APen.FPColor), APen.Width);
if BaseLength > 0 then begin if BaseLength > 0 then begin
ptBase := AEndPos + RotatePointX(-ADrawer.Scale(BaseLength), AAngle)*sgn; ptBase := AEndPos + RotatePointX(-ADrawer.Scale(BaseLength), AAngle)*sgn;
ADrawer.SetBrushParams(bsSolid, FPColorToChartColor(APen.FPColor)); ADrawer.SetBrushParams(bsSolid, FPColorToChartColor(APen.FPColor));