From: Ariel G. <ag...@us...> - 2001-12-03 18:21:08
|
Update of /cvsroot/vagrant/vagrant-2.5 In directory usw-pr-cvs1:/tmp/cvs-serv28772 Modified Files: ImagePrimitives.class Log Message: you can hide the legend by setting hide_legend to true Index: ImagePrimitives.class =================================================================== RCS file: /cvsroot/vagrant/vagrant-2.5/ImagePrimitives.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ImagePrimitives.class 2001/12/01 00:52:09 1.5 --- ImagePrimitives.class 2001/12/03 18:21:05 1.6 *************** *** 135,138 **** --- 135,139 ---- // Basic drawing parameters // + $this->DEFAULTS['hide_legend'] = false; $this->DEFAULTS['vert_bar_width'] = 8; $this->DEFAULTS['dashed_line_length'] = 4; *************** *** 1121,1125 **** */ function DrawLegend(&$legend_map) { ! if (!is_array($legend_map) || !sizeof($legend_map)) { return false; } // if we have no data no legendify, return false --- 1122,1126 ---- */ function DrawLegend(&$legend_map) { ! if ($this->GetValue('hide_legend') || !is_array($legend_map) || !sizeof($legend_map)) { return false; } // if we have no data no legendify, return false |