SetTextColor

SetTextColor — Set general text color

Synopsis

$plot->SetTextColor($color)
    

Description

SetTextColor sets the color which is used for several text elements on the plot, including the tick labels, data labels, and the text in the legend.

Parameters

$color

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

Notes

The default text color is black.