/**
  * Render the popover
  * @param \Piwik\Plugins\CoreHome\Controller $controller
  * @param View (the popover_rowevolution template)
  */
 public function renderPopover($controller, $view)
 {
     // add data for metric select box
     $view->availableMetrics = $this->metricsForSelect;
     $view->selectedMetric = $this->metric;
     $view->availableRecordsText = $this->dimension . ': ' . Piwik::translate('RowEvolution_ComparingRecords', array(count($this->availableMetrics)));
     return parent::renderPopover($controller, $view);
 }