Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
funnel.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart
;
4
5
use
Bitrix\Main\Localization\Loc
;
6
7
12
class
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
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Report\VisualConstructor\View\setLogoUri
setLogoUri($logoUri)
Definition
view.php:102
Bitrix\Report\VisualConstructor\View\setJsClassName
setJsClassName($jsClassName)
Definition
view.php:383
Bitrix\Report\VisualConstructor\View\setLabel
setLabel($label)
Definition
view.php:83
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel
Definition
funnel.php:13
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel\__construct
__construct()
Definition
funnel.php:20
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel\getAmChartType
getAmChartType()
Definition
funnel.php:47
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel\getCompatibleViewTypes
getCompatibleViewTypes()
Definition
funnel.php:33
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel\handlerFinallyBeforePassToView
handlerFinallyBeforePassToView($dataFromReport)
Definition
funnel.php:58
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel\VIEW_KEY
const VIEW_KEY
Definition
funnel.php:14
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\PieDiagram
Definition
piediagram.php:15
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart
Definition
base.php:3
modules
report
lib
visualconstructor
views
jscomponent
amchart
funnel.php
Создано системой
1.10.0