SetLegendTextColor

SetLegendTextColor — Set legend text color

Synopsis

$plot->SetLegendTextColor($color)

Description

SetLegendTextColor sets the color used for lines of text in the legend.

Parameters

$color

Color value to use. See Section 3.5, “Colors” for more on color values.

Notes

If SetLegendTextColor is not used, text in the legend will be drawn using the general text color as set with SetTextColor. The default for the general text color is black.

History

This function was added in PHPlot-6.0.0. In earlier releases, the text in the legend was always drawn using the general text color.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.