How to Activate the Product
Our sample projects and report templates can help you learn the basics of working with our products.By default Dashboards.JS runs in trial mode with a watermark; registering your license key removes it.
In Angular.
How it works. The license is registered before any component is created, so every dashboard renders without the trial watermark.
In Angular.
import { Component } from "@angular/core";
import { Viewer, Stimulsoft } from "stimulsoft-dashboards-js-angular/viewer";
@Component({
imports: [Viewer],
template: `<sti-viewer [report]="report"></sti-viewer>`
})
export class Example {
report: Stimulsoft.Report.StiReport;
constructor() {
// Register your license from JavaScript code
// Stimulsoft.Base.StiLicense.key = "6vJhGtLLLz2GNviWmUTrhSqnO...";
// Stimulsoft.Base.StiLicense.loadFromFile("stimulsoft.key");
this.report = new Stimulsoft.Report.StiReport();
this.report.loadFile("Dashboards/Dashboard.mrt");
}
}StiLicense.key = "..."— set the key string directly.StiLicense.loadFromFile("stimulsoft.key")— or load it from a key file; either removes the trial banner.
How it works. The license is registered before any component is created, so every dashboard renders without the trial watermark.