hola a todos. estoy realizando un sistema de estadisticas. deseo realizar graficos utilizando la libreria libchart pero me surgio el siguiente problema al intentar realizar un grafico. al ejecutar el siguiente codigo
 
// ***********************
	// REALIZANDO EL GRAFICO 
      $this->db->PConnect();
  		$canales = array();
  		echo $sql = "SELECT * FROM valor_canales WHERE (id_canal='21') AND (valor_fecha='2008-03-13')";
  		$res = $this->db->GetRow($sql);
  		if ( $res ) {
  			$valores = $res;
  		}
  		$this->db->Close();
 
  		$chart->addPoint(new Point($valores['valor_pag_vistas']));
  		$chart->render("demo2.png");
  		$chart = new VerticalBarChart(500, 250);
  		$chart->setTitle("Paginas Vistas 2008");
  		$chart->render("files/ejemplo.png");
 
  		?>
 
  		<html>
 
  <head>
 
      <title> imagen </title>
 
  </head>
 
 
  <body>
 
      <img src="files/ejemplo.png" />
 
  </body>
 
  </html>
 
me arroja el siguiente error:
 
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\produccion2\wwwrootES\estadisticas\libchart\cla  sses\model\Point.php on line 27
 
alguien sabe como puedo solucionar esto? espero haberme explicado bien.
 
saludos. 
   
 


