Graph::setLabels
Usage
void Graph::setLabels(array $labels)Description
Set all labels for the legend at once, used if displaying multiple lines / bars on the graph.Parameters
Parameter | Required | Type | Description |
---|---|---|---|
$labels | Yes | array | One dimensional array of labels to use within the legend. |