1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
funnel.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart;
4
5use Bitrix\Main\Localization\Loc;
6
7
12class Funnel extends PieDiagram
13{
14 const VIEW_KEY = 'funnel';
15
20 public function __construct()
21 {
22 parent::__construct();
23 $this->setLabel(Loc::getMessage('REPORT_FUNNEL_VIEW_LABEL'));
24 $this->setLogoUri('/bitrix/images/report/visualconstructor/view-funnel.jpg');
25 $this->setJsClassName('BX.Report.VisualConstructor.Widget.Content.AmChart.Funnel');
26 }
27
33 public function getCompatibleViewTypes()
34 {
35 $viewTypes = parent::getCompatibleViewTypes();
36 $viewTypes[] = 'pieDiagram';
37 return $viewTypes;
38
39 }
40
41
47 protected function getAmChartType()
48 {
49 return 'funnel';
50 }
51
58 public function handlerFinallyBeforePassToView($dataFromReport)
59 {
60 $result = parent::handlerFinallyBeforePassToView($dataFromReport);
61 $result['depth3D'] = 35;
62 $result['angle'] = 45;
63 $result['valueRepresents'] = 'area';
64 return $result;
65 }
66}
setLogoUri($logoUri)
Определения view.php:102
setJsClassName($jsClassName)
Определения view.php:383
setLabel($label)
Определения view.php:83
$result
Определения get_property_values.php:14