Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
columnlogarithmic.php
1<?php
2
4
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}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29