Two independent dashboard viewers can live on one page, each bound to its own report object.

In Angular.
@Component({
    imports: [Viewer],
    template: `
        <sti-viewer [report]="report1"></sti-viewer>
        <sti-viewer [report]="report2"></sti-viewer>`
})
export class Example {
    report1: Stimulsoft.Report.StiReport;
    report2: Stimulsoft.Report.StiReport;

    constructor() {
        this.report1 = new Stimulsoft.Report.StiReport();
        this.report1.loadFile("Dashboards/Dashboard.mrt");

        this.report2 = new Stimulsoft.Report.StiReport();
        this.report2.loadFile("Dashboards/Orders.mrt");
    }
}

How it works. The viewer is a self-contained component, so any number can be placed on a page, each with a separate dashboard.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.