Image_Graph::setDataDefaultColor()

Image_Graph::setDataDefaultColor() -- Set default color for new data; used by addData()

Synopsis

require_once '/Graph.php';

void Image_Graph::setDataDefaultColor (mixed $dataDefaultColor)

Description

You can set a new dataDefaultColor using this function. It will be used for all *following* calls to addData if you don't explicitly supply a color.

Parameter

mixed $dataDefaultColor

any color representation supported by Image_Graph_Color::color2RGB()

Throws

throws no exceptions thrown

See

see Image_Graph::addData()

see Image_Graph_Color::color2RGB()

Note

This function can not be called statically.