Generating Charts
Charts Overview
Functionality for working with charts is exposed on the Infrastructure
object on EntityRepo
. The chartjs-node library is exposed directly on the Infrastructure object. The library uses node-canvas and server has to meet the requirements for node-canvas for easy install. Accessing this library in processors is given as -
this.entityRepo.infrastructure().ChartJsNode;