afagh-stimulsoft-reports-js
v2023.1.1
Published
Stimulsoft Reports.JS is a reporting tool for Node.js; Afagh's fork
Downloads
13
Maintainers
Keywords
Readme
Stimulsoft Reports.JS
Stimulsoft Reports.JS is a set of reporting tools designed on JavaScript and HTML5 technologies. The report generator works in any JavaScript application, and installation of any browser extensions or frameworks is not required. The product contains everything you need to create, edit, build, view, and export reports to PDF, PowerPoint, HTML, Word, Text, Excel, OpenDocument Writer and Calc, Image (Svg) and Data (Csv).
Data analytics tool for creating dashboards - Stimulsoft Dashboard.JS NPM, GitHub
How to install
Ceate a project folder and install Reports.JS module using the specified command:
npm install stimulsoft-reports-js
How to load and save a report
Create index.js file in the folder, and add the required code:
// Stimulsoft reports module loading
var Stimulsoft = require('stimulsoft-reports-js');
// Loading fonts
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("Roboto-Black.ttf");
// Creating a new report object
var report = Stimulsoft.Report.StiReport.createNewReport();
// Loading a report template (MRT) into the report object
report.loadFile("report1.mrt");
// Renreding the report
report.renderAsync(() => {
});
// Exporting the report to PDF
report.exportDocumentAsync((pdfData) => {
});
// Saving the report object into a template file (MRT)
report.saveFile("report2.mrt");
// Saving the rendered report object into a document file (MDC)
report.saveDocumentFile("report3.mdc");
How to run
Open console and run index.js
node index
Integration
Our report generator is excellent for working in any JavaScript application. Components are optimized to work with most popular platforms such as Node.js, Angular, React, Vue.js, and others. For integration you need to install only one package from the NPM repository, or download the package from our website to a computer and add several scripts and css-styles to the project. All other things you can find in our, on pure JavaScript developed report builder.
Live Demo
We prepared many templates of reports and dashboards that you can explore and edit in our online demo. Choose the template you need, connect your data, and create rich reports and analytical dashboards – the solution is ready. Try the Live Demo
More about product
In Stimulsoft Reports.JS, we have included a complete set of tools and components to design simple and complex reports. Texts, images, charts, barcodes, many preset styles, grouping and filtering, interactive reports, and much more. You can work with reports and their components directly from the JavaScript code. Read more about Stimulsoft Reports.JS.
Video and Documentation
We provide User Manuals and Class References intended to give technical assistance to users of our reporting tool. Find more information in the Online Documentation.
Also, we prepared many videos about the working of our software. Watch videos on our YouTube channel.