| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Legend |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * A format string for numeric labels. This is a subset of the ICU pattern set . For instance, {numberFormat:'.##'} |
||
| 14 | * will display values "10.66", "10.6", and "10.0" for values 10.666, 10.6, and 10. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $numberFormat; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var MediumTextStyle |
||
| 22 | */ |
||
| 23 | protected $textStyle; |
||
| 24 | |||
| 25 | public function __construct() |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getTextStyle(): MediumTextStyle |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function setNumberFormat(string $numberFormat) |
||
| 45 |