SetTextColor — Set general text color
$plot->SetTextColor($color
)
SetTextColor
sets the color which is used for
legend text, and the default color used for 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
.