Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class GaugeChart extends Chart |
||
13 | { |
||
14 | /** |
||
15 | * @var GaugeChartOptions |
||
16 | */ |
||
17 | protected ChartOptionsInterface $options; |
||
18 | |||
19 | public function __construct() |
||
20 | { |
||
21 | parent::__construct(); |
||
22 | |||
23 | $this->options = new GaugeChartOptions(); |
||
24 | } |
||
25 | |||
26 | public function getType(): string |
||
27 | { |
||
28 | return 'Gauge'; |
||
29 | } |
||
30 | |||
31 | public function getPackage(): string |
||
32 | { |
||
33 | return 'gauge'; |
||
34 | } |
||
35 | |||
36 | public function getAvailableEventTypes(): array |
||
37 | { |
||
38 | return []; |
||
39 | } |
||
40 | |||
41 | public function getOptions(): GaugeChartOptions |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param GaugeChartOptions $options |
||
48 | */ |
||
49 | public function setOptions(ChartOptionsInterface $options): GaugeChart |
||
54 | } |
||
55 | } |
||
56 |