Ariovaldo Report post Posted February 4, 2020 Hello, I am working on a line chart, where I have a problem on the date. I used ajax to return a json and apparently the json is returning correctly, but only the "look" of the graph appears, the information does not. Following photos for better analysis. My Code: Return Json (picture of Postman and Inspect Chrome) I really don't know what can be divergent, thanks! Share this post Link to post Share on other sites
Akash Biswas Report post Posted February 5, 2020 Hi Ariovaldo, The fetched result is being provided to the data as a string instead of an array of objects, hence you are not getting the data visualized on the chart. You need to provide the data as an JSON array of objects. Check the below fiddles for the difference : Data as a string - https://jsfiddle.net/oam641cd/ Data as array of objects - https://jsfiddle.net/w1ar2gzL/ Thanks, Akash. Share this post Link to post Share on other sites