stimulsoft-dashboards-js

Stimulsoft Dashboards.JS is a dashboards tool for Node.js and JavaScript applications. You can create new and load already created dashboards, easily connect to various databases, and export the dashboards to PDF, Excel, Data and other formats.

Usage no npm install needed!

<script type="module">
  import stimulsoftDashboardsJs from 'https://cdn.skypack.dev/stimulsoft-dashboards-js';
</script>

README

Stimulsoft Dashboards.JS

Stimulsoft Dashboards.JS is a dashboards tool for Node.js and JavaScript applications. You can create new and load already created dashboards, easily connect to various databases, and export the dashboards to PDF, Excel, Data and other formats.

How to install

Ceate a project folder and install Dashboards.JS module using the specified command:

npm install stimulsoft-dashboards-js

How to load and save a dashboard

Create index.js file in the folder, and add the required code:

// Stimulsoft dashboards module loading
var Stimulsoft = require('stimulsoft-dashboards-js');

// Loading fonts
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("Roboto-Black.ttf");

// Creating a new report object
var dashboard = Stimulsoft.Report.StiReport.createNewDashboard();

// Loading a dashboard template (MRT) into the dashboard object
dashboard.loadFile("dashboard1.mrt");

// Exporting the dashboard to PDF
dashboard.exportDocumentAsync((pdfData) => {

}

// Saving the dashboard object into a template file (MRT)
dashboard.saveFile("dashboard2.mrt");

How to run

Open console and run index.js

node index

Trial limitation

The free trial versions of Stimulsoft Dashboards.JS for Node.js are fully functional. The limitation is 120 days and a Trial watermark on the pages. To activate the product, you do not need to install a special version, just add a license key.

Read more about Stimulsoft Dashboards.JS

You can try the Live Demo

More information in the Online Documentation

Free Download

License