You must be logged in to post your query.
Home › Forums › Chart Support › Live line chart
Tagged: JavaScript Dynamic / Live Line Charts & Graphs
For live line chart when I submit the input as [[0,19 ],[1,17],[2,14],[3,14],[4,14],[5,14],[6,14],[7,14],[8,14],[9,14]] and make changes in the graph only x 0 gets updated and the values don’t cascade. Is the input wrong or any other details missing ?
@shashankb08,
Parsing the above data in the format accepted by CanvasJS before passing it to the Chart options should work fine in your case. Please take a look at this documentation page for detailed steps on achieving the same.
___________ Indranil Deo, Team CanvasJS
So, if I take the data from flask then the address changes to $.getJSON(“http://0.0.0.0:5000/try”, addData); In try, I take data from a text file which is exactly in the same format. Then I don’t get the output as shown. That is where the problem is.
Can you kindly create a sample project along with sample data reproducing the issue and share it over google-drive or onedrive so that we can look into your code, understand the scenario better and help you out?
You must be logged in to reply to this topic. Login/Register