Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
storesalechart.php
1<?php
2
4
10
12{
13 public const VIEW_KEY = 'store_sale_chart';
14 public const MAX_RENDER_REPORT_COUNT = 1;
15 public const USE_IN_VISUAL_CONSTRUCTOR = false;
16
17 public function __construct()
18 {
19 parent::__construct();
20
21 $this->setLabel(Loc::getMessage('STORE_SALE_CHART_LABEL'));
22 $this->setDraggable(false);
23 $this->setComponentName('bitrix:catalog.report.store_sale.chart');
24 $this->setPreviewImageUri('/bitrix/images/report/visualconstructor/preview/graph.svg');
25 $this->setCompatibleDataType(Common::MULTIPLE_REPORT_TYPE);
26 }
27
28 public function getViewHandler(): BaseHandler
29 {
30 return new ChartHandler();
31 }
32}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29
setPreviewImageUri($previewImageUri)
Definition view.php:523
setCompatibleDataType($compatibleDataType)
Definition view.php:121