Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/general/libchart/classes/view/axis/Axis.php
Show All 34 Lines | |||||
private $tics; | private $tics; | ||||
/** | /** | ||||
* Creates a new axis formatter. | * Creates a new axis formatter. | ||||
* | * | ||||
* @param integer minimum value on the axis | * @param integer minimum value on the axis | ||||
* @param integer maximum value on the axis | * @param integer maximum value on the axis | ||||
*/ | */ | ||||
public function LibchartAxis($min, $max) { | public function __construct($min, $max) { | ||||
$this->min = $min; | $this->min = $min; | ||||
$this->max = $max; | $this->max = $max; | ||||
$this->guide = 10; | $this->guide = 10; | ||||
} | } | ||||
/** | /** | ||||
* Computes value between two ticks. | * Computes value between two ticks. | ||||
▲ Show 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Get the value between two ticks3 | * Get the value between two ticks3 | ||||
* | * | ||||
* @return integer value between two ticks | * @return integer value between two ticks | ||||
*/ | */ | ||||
public function getTics() { | public function getTics() { | ||||
return $this->tics; | return $this->tics; | ||||
} | } | ||||
} | } | ||||
No newline at end of file |