IncludeComponent("service:boiler.node", "", ["IBLOCK_ID" => '15', 'ID' => $_REQUEST['id']]); $data['text'] = ob_get_contents(); ob_end_clean(); $data['data'] = Counter::GetGraph($_REQUEST['id']); echo \Bitrix\Main\Web\Json::encode($data);