ChartJs works with Sharepoint 2016 but not sharepoint 2013

0

I created a chart with ChartJS and I imported the data dynamically from an xml link (odata), it worked with Sharepoint 2016 but the chart doesn't show in Sharepoint 2013. Do you have any solution for this? This is the code: https://codeshare.io/5gd8k8

I will appreciate it.

Note: I tried to display chartJs with static data and it worked, it didn't work with dynamic data and I'm sure that my code is fine because I copied and pasted it.

Mohamed Khlifi

Posted 2019-08-06T07:44:51.587

Reputation: 1

What about this? Using Chart.js in SharePoint 2013

– CaldeiraG – 2019-08-06T07:46:57.623

@CaldeiraG It checked and it didn't help, it's like it's not reading data.value. – Mohamed Khlifi – 2019-08-06T09:30:13.870

@CaldeiraG I fixed the problem. – Mohamed Khlifi – 2019-08-06T11:18:20.067

@CaldeiraG Sharepoint 2013 doesn't accept nometadata , Here is the new code: https://codeshare.io/5zeljW

– Mohamed Khlifi – 2019-08-06T11:41:14.197

No answers