Discussions

Ask a Question
Back to All

How to config the loaded module provider settings?

Good morning Sir,

We are lazy loading the ChartJS library to our application. But after it loaded we would need to configure the ChartJsProvider settings. like below in config method of the angularjs.

(function (ChartJsProvider) {
ChartJsProvider.setOptions({ colors : [ '#803690', '#00ADF9', '#DCDCDC', '#46BFBD', '#FDB45C', '#949FB1', '#4D5360'] });
});

Could you please help us to how to configure the ChartJSProvider settings using ocLazyLoad.load module?

Thank you,
Srinivas P N V.