How to Activate the Product
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.By default Dashboards.JS runs in trial mode with a watermark; registering your license key removes it.
In React.
How it works. The license is registered before any component is created, so every dashboard renders without the trial watermark.
In React.
import { Viewer, Stimulsoft } from "stimulsoft-dashboards-js-react/viewer";
function App() {
// Register your license from JavaScript code
// Stimulsoft.Base.StiLicense.key = "6vJhGtLLLz2GNviWmUTrhSqnO...";
// Stimulsoft.Base.StiLicense.loadFromFile("stimulsoft.key");
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Dashboards/Dashboard.mrt");
return <Viewer report={report} />;
}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.