[{"id":"355cee34-a92a-441e-94ae-0188c18b1c19","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"26713f3d-fbf1-4c9c-bdbe-31fb188e7096","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"ec2f4855-5e5b-4d97-8017-54b119e4bcd8","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"21c749ac-6a80-4731-ac3b-597990e79038","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"a64d445f-5e12-4939-999f-7ecbd70978c5","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"af5bd81a-b6cd-410b-84b4-9de9c51c3a7d","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"769a3d2b-eedc-4d98-9641-d9cd653b2575","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"8fd79227-699c-46d8-af09-dec8b91f6e90","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]},{"id":"86b2a642-0ee8-4605-b04d-e7e0ec019e01","tags":[{"name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601","links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e"}]}]
        
(Showing Draft Content)

ActiveReportsJS: Troubleshooting

This page enumerates the most common problems you can face using ActiveReportsJS and offers solutions.

Report displays differently in the browser and in the exported PDF document

Ensure the proper Fonts configuration

When my application uses Bootstrap and ActiveReportsJS viewer, the report output does not match the same in the Standalone Designer application.

Bootstrap sets the line-height value for all HTML elements to 1.5, and it affects the report output. The best way to fix it is to replace this value with normal. One way to achieve that is using the Bootstrap Theming feature and overwrite the line-height-base variable's value before importing the reboot module in the custom SCSS style declaration:

$line-height-base: normal;
@import "../node_modules/bootstrap/scss/reboot";

Alternatively, you could isolate the ActiveReportsJS Report Viewer component so that it would not be altered by Bootstrap styles at all, but the specific method to achieve that depends on the application's architecture.

Data Requests work fine in the Design tab but fail in the Preview tab of the Standalone Designer application

If you can create and validate a dataset in the Design tab but in the Preview tab the Data processing error occurs, then ensure that the end-point allows CORS requests.

How can I debug data requests in the standalone designer application?

Create a file called config.json in the standalone designer application's folder:

  • Windows : %AppData%\ActiveReportsJS Designer

  • MacOS: ~/Library/Application Support/ActiveReportsJS Designer

  • Linux: ~/.config/ActivereportsJS Designer

And add the following content into that file.

{
  "debug":true
}

Restart the standalone designer application and use Ctrl + Shift + F12 hotkey for Windows and ⌘ + Shift + F12 (or, if your keyboard does not use the standard functions keys, ⌘ + fn+ Shift + F12) for Mac to open the Developers Tools. Use the Network tab to monitor data requests.

Here is the screenshot for debugging the data request of the Doughnut Chart Demo Report