tahaluf-reporting

1.4.3 • Public • Published

Report Service

how integrate report service in your code

I will explain how integrate report service in your code.

  1. Install tahaluf-reporting npm package:

     npm i tahaluf-reporting
    
  2. Create configuration file in root folder:

    • Configuration file name report-config.json

    • The stracture of file is:

        {
        	"logo": "image path | image url | image base64",
        	"footerTitle": "string",
        	"chartTitle": "string",
        	"tableTitle": "string",
        	"info": {
        		"title": "string",
        		"author": "string", 
        		"subject": "string",
        		"keywords": "string"
        	},
        	"tableHeaderColor": "color",
        	"tableLayout": "noBorders | headerLineOnly | lightHorizontalLines | emptyString",
        	"pageOrientation": "portrait | landscape"
        }
      
    • ScreenShots samples for configuration: First page Second page

      • logo: logo

      • footerTitle: footer title

      • chartTitle: chart title

      • tableTitle: table title

      • info is object has details of report pdf: details of report pdf

      • tableHeaderColor: color color

      • tableLayout = "" | "noBorders" | "headerLineOnly" | "lightHorizontalLines" | "emptyString": layout layout layout layout

      • pageOrientation = "" | "portrait | landscape": portrait landscape

Readme

Keywords

none

Package Sidebar

Install

npm i tahaluf-reporting

Weekly Downloads

7

Version

1.4.3

License

ISC

Unpacked Size

802 kB

Total Files

20

Last publish

Collaborators

  • mo7ammad