Chartjs-Why is chartjs treating these arrays differently?

1👍

I completely neglected the asynchronous nature of AJAX, and did not enclose my script in an async call. This stackoverflow question/answer provided me with enough insight to move on. It should be noted that global arrays behavior differently when they are assigned values inside a scoped function.

Leave a comment