SetLineSpacing
SetLineSpacing — Set spacing between lines of multi-line elements
Synopsis
$plot->SetLineSpacing($spc
)
Description
SetLineSpacing
sets the number of pixels between lines
of a multi-line text element. Multiple lines can be specified in titles,
for example, by placing a newline between lines (for example: "Line 1\nLine
2"). Line spacing also affects the legend.
Parameters
$spc
Desired line spacing in pixels.
Notes
Line spacing apparently does not apply when using TrueType fonts, except
for the legend. In the legend, SetLineSpacing spreads out the lines of the
legend, and stretches the color boxes accordingly.
The default line spacing is 4 pixels.