Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
columnlogarithmic.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart
;
4
5
use
Bitrix\Main\Localization\Loc
;
6
7
class
ColumnLogarithmic
extends
Column
8
{
9
const
VIEW_KEY
=
"columnLogarithmic"
;
10
const
ENABLE_SORTING
=
false
;
11
15
public
function
__construct
()
16
{
17
parent::__construct();
18
$this->
setLabel
(
Loc::getMessage
(
"REPORT_COLUMN_VIEW_LABEL_HISTOGRAM_LOGARITHMIC"
));
19
$this->
setLogoUri
(
'/bitrix/images/report/visualconstructor/view-bar.jpg'
);
20
}
21
22
public
function
getCompatibleViewTypes
()
23
{
24
return
[];
25
}
26
33
public
function
handlerFinallyBeforePassToView
($dataFromReport)
34
{
35
$result = parent::handlerFinallyBeforePassToView($dataFromReport);
36
$result[
'valueAxes'
] = [
37
[
38
'logarithmic'
=>
true
,
39
'integersOnly'
=>
true
,
40
'minimum'
=> 1,
41
'reversed'
=>
false
,
42
'axisAlpha'
=> 0,
43
'position'
=>
'left'
44
]
45
];
46
47
return
$result;
48
}
49
}
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\setLabel
setLabel($label)
Definition
view.php:83
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Column
Definition
column.php:11
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic
Definition
columnlogarithmic.php:8
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic\__construct
__construct()
Definition
columnlogarithmic.php:15
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic\getCompatibleViewTypes
getCompatibleViewTypes()
Definition
columnlogarithmic.php:22
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic\ENABLE_SORTING
const ENABLE_SORTING
Definition
columnlogarithmic.php:10
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic\handlerFinallyBeforePassToView
handlerFinallyBeforePassToView($dataFromReport)
Definition
columnlogarithmic.php:33
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic\VIEW_KEY
const VIEW_KEY
Definition
columnlogarithmic.php:9
Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart
Definition
base.php:3
modules
report
lib
visualconstructor
views
jscomponent
amchart
columnlogarithmic.php
Создано системой
1.10.0