Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/05/2009, 10:44
El_fenix
 
Fecha de Ingreso: junio-2006
Mensajes: 137
Antigüedad: 18 años, 9 meses
Puntos: 0
Respuesta: Eeror al graficar con libchart

Hola GatorV

Lo primero es disculparme por no haber contestado antes. El contenido de la clase que se llama en este archivo es el siguiente:
Cita:
class Point {
Las siguientes dos lineas son las que marcan el error
private $x;
private $y;


/**
* Creates a new sampling point of coordinates (x, y)
*
* @param integer x coordinate (label)
* @param integer y coordinate (value)
*/
public function Point($x, $y) {
$this->x = $x;
$this->y = $y;
}

/**
* Gets the x coordinate (label).
*
* @return integer x coordinate (label)
*/
public function getX() {
return $this->x;
}

/**
* Gets the y coordinate (value).
*
* @return integer y coordinate (value)
*/
public function getY() {
return $this->y;
}
}
?>