示例#1
0
 /**
  * Override to prevent drawing an entry past the last bar
  */
 protected function SetLegendEntry($dataset, $index, $item, $style_info)
 {
     // the last entry is a blank to wangle the numbering
     if ($item->key >= $this->GetMaxKey()) {
         return;
     }
     parent::SetLegendEntry($dataset, $index, $item, $style_info);
 }