1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
columnlogarithmic.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart;
4
5use Bitrix\Main\Localization\Loc;
6
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}
setLogoUri($logoUri)
Определения view.php:102
setLabel($label)
Определения view.php:83
$result
Определения get_property_values.php:14