Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
eventhandler.php
1<?php
2
4
16use \Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Column;
21
27{
28
32 public static function onWidgetCollect()
33 {
34 $widget = new BaseWidget();
35 $result[] = $widget;
36 return $result;
37 }
38
42 public static function onReportsCollect()
43 {
44 $emptyReportHandler = new EmptyReport();
45// $formula = new Formula();
46 $result[] = $emptyReportHandler;
47// $result[] = $formula;
48
49 return $result;
50 }
51
55 public static function onCategoriesCollect()
56 {
57 $main = new Category();
58 $main->setKey('main');
59 $main->setLabel('Main');
60
61 $categories[] = $main;
62 return $categories;
63 }
64
68 public static function onViewsCollect()
69 {
70
71 return array(
72 new PieDiagram(),
73 new DonutDiagram(),
74 new Column(),
76 new Stack(),
77 new LinearGraph(),
78 new SmoothedGraph(),
79 new Number(),
80 new NumberBlock(),
81 new Grid(),
82// new NumberBlockWithFormula(),
83 new Funnel(),
84 new MultiDirectional(),
85 new Activity(),
86 new GroupedDataGrid()
87 );
88 }
89
90}