SetTextColor — Set general text color
$plot->SetTextColor($color)
SetTextColor sets the default color which is used for
legend text, tick labels, and data labels.
The default text color is black.
Starting with PHPlot-5.7.0, there are more specific functions to set
the color for labels: SetDataLabelColor,
SetDataValueLabelColor, and
SetTickLabelColor.
All of these elements default to using the color set with
SetTextColor.
Starting with PHPlot-6.0.0, the legend text color can be set with
SetLegendTextColor. If that function is not used,
then the legend text uses the color set with SetTextColor.
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.