SetLegendTextColor
Prev | PHPlot Function Reference | Next

## 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.

Prev | Up | Next
SetLegendStyle | Home | SetLegendUseShapes