private function createChartData(Pap_Common_Reports_Chart_DataType $dataType, $lineColor) { $chartData = new Gpf_Chart_DataRecordSet($dataType->getName(), $lineColor); $chartData->setTooltip($dataType->getTooltip()); return $chartData; }