protected DrawLegendEntry ( $set, $x, $y, $w, $h ) |
protected function DrawLegendEntry($set, $x, $y, $w, $h)
{
if (!array_key_exists($set, $this->bar_styles)) {
return '';
}
$bar = array('x' => $x, 'y' => $y, 'width' => $w, 'height' => $h);
return $this->Element('rect', $bar, $this->bar_styles[$set]);
}