code/panels/DashboardGoogleAnalyticsPanel.php
public function Chart() {		
		if(!$this->isValid()) return false;
		try {
			$this->api()->requestReportData(
				self::config()->profile, 
				array('date'),
				array('pageviews'), 
				'date', 
				$this->getPath() ? "pagePath == {$this->getPath()}" : null,			
				date('Y-m-d',$this->getStartDateStamp())
			);
		}
		catch(Exception $e) {
			$this->error = $e->getMessage();

			return false;
		}

		$results = $this->api()->getResults();

		if($results) {
			$chart = DashboardChart::create(
				$this->ChartTitle(), 
				_t('Dashboard.DAY','Day'), 
				_t('Dashboard.PAGEVIEWS','Pageviews')
			);
			$chart->Height = 160;
			$datekey = $this->DateFormat == "mdy" ? "M j" : "j M";
			if($this->PathType == "none") {
				$map = array ();
				foreach($results as $result) {
					$date = date($datekey, strtotime($result->getDate()));
					if(!isset($map[$date])) $map[$date] = 0;
					$map[$date] += $result->getPageViews();
				}
				$chart->setData($map);
			}
			else {
				foreach($results as $result) {	
					$data = date($datekey, strtotime($result->getDate()));
					$chart->addData($data, $result->getPageViews());
				}
			}
			return $chart;
		}		
		return false;
	}
public function Chart() {		
		if(!$this->isValid()) return false;
		try {
			$this->api()->requestReportData(
				self::config()->profile, 
				array('date'),
				array('pageviews'), 
				'date', 
				$this->getPath() ? "pagePath == {$this->getPath()}" : null,			
				date('Y-m-d',$this->getStartDateStamp())
			);
		}
		catch(Exception $e) {
			$this->error = $e->getMessage();

			return false;
		}

		$results = $this->api()->getResults();

		if($results) {
			$chart = DashboardChart::create(
				$this->ChartTitle(), 
				_t('Dashboard.DAY','Day'), 
				_t('Dashboard.PAGEVIEWS','Pageviews')
			);
			$chart->Height = 160;
			$datekey = $this->DateFormat == "mdy" ? "M j" : "j M";
			if($this->PathType == "none") {
				$map = array ();
				foreach($results as $result) {
					$date = date($datekey, strtotime($result->getDate()));
					if(!isset($map[$date])) $map[$date] = 0;
					$map[$date] += $result->getPageViews();
				}
				$chart->setData($map);
			}
			else {
				foreach($results as $result) {	
					$data = date($datekey, strtotime($result->getDate()));
					$chart->addData($data, $result->getPageViews());
				}
			}
			return $chart;
		}		
		return false;
	}
Gets the result set for date/pageview pairs

@return ArrayList