cancel
Showing results for 
Search instead for 
Did you mean: 

Error in rendering chart while creating Analytical List Page

0 Kudos

Hi,

I followed the below mentioned blog to create Analytical List Page but replicated the steps using JSON Model. https://blogs.sap.com/2017/12/27/create-a-analytical-report-in-5-min/

Initially before adding chart to the annotation, I could see the data in the table and later I added chart and then I see this error in the console along with the busy icon, as seen in the screenshot. The chart is not rendered. The error doesn't provide much info. I am looking for guidance on what is going wrong here. jocelyn.dart, I have not found any useful links or demos in this regard, can you direct me to anything to guide me to fix this?

capture.png

Thanks in advance.

Regards,

Rosy

nabheetscn
Active Contributor
0 Kudos

Rosy please upload your project code also.

former_member196805
Contributor
0 Kudos

I have encountered the same issue before but my chart consumed oDataModel and not JSONModel so I am not too sure how much my case relates to yours.

The root cause on my side was because key.propertyRef in my oData entitySet was missing and this is one of the necessary attributes for chart. Please check this smart chart sample and check the XML data model.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

The issue is resolved by changing the version.

Thank you!