| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Gridlines |
||
| 9 | { |
||
| 10 | use ColorTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * The number of horizontal gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically |
||
| 14 | * compute the number of gridlines. |
||
| 15 | * |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | protected $count; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var Units |
||
| 22 | */ |
||
| 23 | protected $units; |
||
| 24 | |||
| 25 | 11 | public function __construct() |
|
| 26 | { |
||
| 27 | 11 | $this->units = new Units(); |
|
| 28 | } |
||
| 29 | |||
| 30 | 2 | public function getUnits(): Units |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | 2 | public function setCount(int $count) |
|
| 43 | } |
||
| 44 | } |
||
| 45 |