You must be logged in to post your query.
Home › Forums › Chart Support › Error giving when changing JSON file name to other JSON file
Tagged: Django Python
sir when i change my json file Test_json.json to Demo_json.json it gives unexpected token ‘;’ .
sir when i copy the data of Demo_json.json and past it over Test_json.json it works but when i change the file Test_json.json to Demo_json.json it gives error unexpected token ‘;’.
but whenever i change file Test_json.json to any file it gives same error every time. and when i past the json data over Test_json.json file it works fine.
here i attached the link of one drive please visit
https://1drv.ms/f/s!Ar-zm6Ea2LLygVjW98WW6cEZDFVm?e=fEM0hq
@ankitlwt,
The issue seems to be happening only when you use Test_json.json as you are using variable ‘Demo_json’ in template (index.html – line no 93). Changing it to Test_json while working with Test_json.json file seems to be working fine. Please take a look at this updated sample project.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register