Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
import { Component } from '@angular/core';
import { Viewer, Stimulsoft } from 'stimulsoft-dashboards-js-angular/viewer';
@Component({
selector: 'app-root',
imports: [Viewer],
template: `<sti-viewer [report]="report"></sti-viewer>`
})
export class AppComponent {
report: Stimulsoft.Report.StiReport;
constructor() {
Stimulsoft.StiOptions.WebServer.url = 'http://localhost:9615/';
this.report = new Stimulsoft.Report.StiReport();
report.loadFile('Dashboards/SalesOfProducts.mrt');
report.onBeginProcessData = function (args) {
args.connectionString = 'Server=localhost; Database=northwind; UserId=root; Pwd=;';
};
}
}