Editing a Dashboard Template in the Designer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.The Dashboards.PHP designer runs in the browser, served by the PHP SDK — create a
Build the designer, load the dashboard.
How it works. The designer runs client-side while PHP serves the page and handles its callbacks, so users edit dashboards without a desktop app.
StiDesigner, load a dashboard, and print the page.Build the designer, load the dashboard.
$designer = new StiDesigner();
$designer->javascript->relativePath = '../';
$designer->process();
$report = new StiReport();
$report->loadFile('../reports/Christmas.mrt');
$designer->report = $report;
$designer->printHtml();StiDesigner()— the designer component;process/printHtmlwork exactly as for the viewer.$designer->report = $report— the dashboard the user will edit in the browser.
How it works. The designer runs client-side while PHP serves the page and handles its callbacks, so users edit dashboards without a desktop app.