| Total Complexity | 4 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class SizeAxis |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Maximum radius of the largest possible bubble, in pixels. |
||
| 12 | * |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $maxSize; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The size value (as appears in the chart data) to be mapped to sizeAxis.maxSize. Larger values will be cropped |
||
| 19 | * to this value. |
||
| 20 | * |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | protected $maxValue; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Mininum radius of the smallest possible bubble, in pixels. |
||
| 27 | * |
||
| 28 | * @var int |
||
| 29 | */ |
||
| 30 | protected $minSize; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The size value (as appears in the chart data) to be mapped to sizeAxis.minSize. Smaller values will be cropped |
||
| 34 | * to this value. |
||
| 35 | * |
||
| 36 | * @var int |
||
| 37 | */ |
||
| 38 | protected $minValue; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return $this |
||
| 42 | */ |
||
| 43 | public function setMaxSize(int $maxSize) |
||
| 44 | { |
||
| 45 | $this->maxSize = $maxSize; |
||
| 46 | |||
| 47 | return $this; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | public function setMaxValue(int $maxValue) |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return $this |
||
| 62 | */ |
||
| 63 | public function setMinSize(int $minSize) |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return $this |
||
| 72 | */ |
||
| 73 | public function setMinValue(int $minValue) |
||
| 80 |