You've already forked lazarus-ccr
jvcllaz: Fix centered position of chart title in JvChart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5425,9 +5425,11 @@ begin
|
||||
Assert(Assigned(ACanvas.Brush));
|
||||
|
||||
MyHeaderFont(ACanvas);
|
||||
MyCenterTextOut(ACanvas, Options.XStartOffset + Round(Options.XEnd / 2),
|
||||
(Options.YStartOffset div 2) - (MyTextHeight(ACanvas, StrText) div 2),
|
||||
StrText);
|
||||
MyCenterTextOut(ACanvas,
|
||||
(Options.XStartOffset + Round(Options.XEnd)) div 2,
|
||||
(Options.YStartOffset - MyTextHeight(ACanvas, StrText)) div 2,
|
||||
StrText
|
||||
);
|
||||
MyAxisFont(ACanvas);
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user