Coder Social home page Coder Social logo

hailonglove / dashboards.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stimulsoft/dashboards.js

0.0 0.0 0.0 292.16 MB

Stimulsoft Dashboards.JS is a dashboard tool for Node.js and JavaScript applications.

Home Page: https://www.stimulsoft.com/en/products/dashboards-js

License: Other

JavaScript 100.00%

dashboards.js's Introduction

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 and will work for an unlimited time. The only limitation is a Trial watermark displayed on each dashboard page. 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

dashboards.js's People

Contributors

kubekin2 avatar vladimirhot avatar hailonglove avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.