/** * Adiciona o Plot ao Container do Grafico * @param unknown_type $plot */ public function insert($plot) { $this->_accumulate = $plot instanceof BarElement ? new AccBarPlot(array($plot->getGraph())) : $plot->getGraph(); $this->_graph->Add($this->_accumulate); return $this; }