Time Based Real Time Control Charts

How can I insert “json” file format data into control chart JavaScript code to plot real time control chart?