If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

ejChart is not a function

Hi there!

I am trying to render RDL documents with some inner Charts with the Angular Report Viewer component but an error is fired in the browser console and the document is not properly parsed:

ERROR TypeError: $(...).ejChart is not a function
    at Object._renderChartControl (bold.report-viewer.min.js:10)
    at Object._renderPageControls (bold.report-viewer.min.js:10)
    at Object._renderPageModels (bold.report-viewer.min.js:10)
    at Object._gotoPage (bold.report-viewer.min.js:10)
    at Object._renderCurrentPageModels (bold.report-viewer.min.js:10)
    at Object._getPageModel (bold.report-viewer.min.js:10)
    at Object.success (bold.report-viewer.min.js:10)
    at fire (jquery.js:3500)
    at Object.fireWith [as resolveWith] (jquery.js:3630)
    at done (jquery.js:9796)

Someone can help? What am I missing in my Angular project configuration?

Thank you.


3 Replies 1 reply marked as answer

MS Muthuramana Sankaranarayanan Syncfusion Team April 26, 2021 05:47 AM UTC

Hi Israel, 

Thanks for contacting Bold Reports support. 

Could you please confirm if you have imported the chart dependencies in the ‘app.module.ts’ file as like shown in below documentation, 

If you have already done it, then could you please share the index.html, app.module.ts and the report viewer initialized files or code snippet as it will be helpful for us to further analyze this issue from our end. 

Regards, 
Muthu Ramana S 


Marked as answer

MA Marta Alonso replied to Muthuramana Sankaranarayanan April 26, 2021 07:18 AM UTC

Hi Israel, 

Thanks for contacting Bold Reports support. 

Could you please confirm if you have imported the chart dependencies in the ‘app.module.ts’ file as like shown in below documentation, 

If you have already done it, then could you please share the index.html, app.module.ts and the report viewer initialized files or code snippet as it will be helpful for us to further analyze this issue from our end. 

Regards, 
Muthu Ramana S 


Hey Muthuramana, they were not imported because we were not able to find initially any clue on your documentation...

Thank you very much for your assistance. I think it is now quite understable.

Kind regards,


MS Muthuramana Sankaranarayanan Syncfusion Team April 27, 2021 06:32 AM UTC

Hi Israel, 

Thanks for your update. 

We are glad to hear that the previously shared information was helpful for you. 

Regards, 
Muthu Ramana S 


Loader.
Up arrow icon