芝麻web文件管理V1.00
编辑当前文件:/home/jambtst2015/public_html/giraffeng.com/libchart/classes/model/Point.php
. * */ /** * Point of coordinates (X,Y). * The value of X isn't really of interest, but X is used as a label to display on the horizontal axis. * * @author Jean-Marc Trmeaux (jm.tremeaux at gmail.com) */ class Point { 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; } } ?>