Home › Forums › Chart Support › Simple chart and XMLHttpRequest query › Reply To: Simple chart and XMLHttpRequest query
The issue might be with the format of the data being passed to the chart. Parsing it in the format accepted by CanvasJS Chart should work fine in your case. Please refer to this documentation page for step-to-step tutorial on fetching data from external source (JSON) & parsing it to the format accepted by CanvasJS before rendering chart.
Please refer to this article for more information on adding CanvasJS charts in Arduino. Also take a look at this Github-repository for complete code.