Home › Forums › Chart Support › Formatting th date for the datapoint › Reply To: Formatting th date for the datapoint
@viiartz,
jQuery.getJSON is asynchronous method due to which your chart gets rendered before the array arr_data gets populated. Hence by performing jQuery.getJSON() method inside jQuery.when() method and then calling chart.render() inside the .then() method will work fine in your case as shown in this JSFiddle.
arr_data
____ Shashi Ranjan Team CanvasJS