• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/integration/report/view/lineargraphbase.php
  • Класс: BitrixVoximplantIntegrationReportViewLinearGraphBase
  • Вызов: LinearGraphBase::getConfig
public function getConfig()
{
	return [
		'type' => 'serial',
		'theme' => 'none',
		'language' => 'ru',
		'pathToImages' => self::AM_CHART_LIB_PATH.'/images/',
		'zoomOutText' => Loc::getMessage('TELEPHONY_REPORT_GRAPH_SHOW_ALL'),
		'dataProvider' => [],
		'valueAxes' => [
			[
				'integersOnly' => true,
				'reversed' => false,
				'axisAlpha' => 0,
				'position' => 'left'
			]
		],
		'startDuration' => 0.5,
		'graphs' => [],
		'categoryField' => 'groupingField',
		'categoryAxis' => [
			'axisAlpha' => 0,
			'fillAlpha' => 0.05,
			'gridAlpha' => 0,
			'position' => 'bottom',
			'dashLength' => 1,
			'minorGridEnabled' => true
		],
		'export' => [
			'enabled' => true,
			'position' => 'bottom-right'
		],
		'legend' => [
			'useGraphSettings' => true,
			'equalWidths' => false,
			'position' => 'bottom',
			'valueText' => '',
		],
		'zoomOutButton' => [
			'disabled' => true
		],
		'chartCursor' => [
			'enabled' => true,
			'oneBalloonOnly' => true,
			'categoryBalloonEnabled' => true,
			'categoryBalloonColor' => '#000000',
			'cursorAlpha' => 1,
			'zoomable' => true,
		],
	];
}