| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 64.29% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class AnnotationChart extends Chart |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var AnnotationChartOptions |
||
| 17 | */ |
||
| 18 | protected ChartOptionsInterface $options; |
||
| 19 | |||
| 20 | 1 | public function __construct() |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public function getType(): string |
|
| 28 | { |
||
| 29 | 1 | return 'AnnotationChart'; |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function getPackage(): string |
|
| 35 | } |
||
| 36 | |||
| 37 | public function getAvailableEventTypes(): array |
||
| 38 | { |
||
| 39 | return [ |
||
| 40 | EventType::RANGE_CHANGE, |
||
| 41 | EventType::READY, |
||
| 42 | EventType::SELECT, |
||
| 43 | ]; |
||
| 44 | } |
||
| 45 | |||
| 46 | 1 | public function getOptions(): AnnotationChartOptions |
|
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param AnnotationChartOptions $options |
||
| 53 | */ |
||
| 54 | public function setOptions(ChartOptionsInterface $options): AnnotationChart |
||
| 59 | } |
||
| 60 | } |
||
| 61 |