Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
onOpenedReport event lets you modify a dashboard — or swap it entirely — on the PHP server before the viewer displays it.$viewer->onOpenedReport = function (StiReportEventArgs $args) {
$args->report->ReportAlias = 'Dashboard Alias from Server-Side';
$reportJson = file_get_contents('../reports/Christmas.mrt');
$args->setReportJson($reportJson);
};
$viewer->process();
$report->loadFile('../reports/SalesOverview.mrt');
$viewer->report = $report;onOpenedReport — fires after the dashboard is opened, before it is assigned to the viewer.$args->report, or replace it with $args->setReportJson(...).