1.4.3 • Published 2 years ago

tahaluf-reporting v1.4.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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](https://www6.0zz0.com/2022/04/07/00/381819164.png)

    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](https://www9.0zz0.com/2022/04/07/01/708933922.png)
    	![layout](https://www9.0zz0.com/2022/04/07/01/183090078.png)
    	![layout](https://www9.0zz0.com/2022/04/07/01/740746870.png)
    	![layout](https://www10.0zz0.com/2022/04/07/01/173460900.png)
    
    	* pageOrientation = "" | "portrait | landscape":
    	![portrait](https://www14.0zz0.com/2022/04/07/00/821936789.png)
    	![landscape](https://www5.0zz0.com/2022/04/07/01/603785184.png)
1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.0

2 years ago

1.3.1

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago