Jack Rometty takes you on a tour of Chart.js 2.0 and its various chart types. The UTC() method returns the number of milliseconds between a specified date and midnight of January 1, 1970, according to universal time. If you're using a custom data format you will have to override some of the parse methods in core.datasetController.js . - Be sure not to include personal data - Do not include copyrighted material. Jadi untuk Statistik penggunaan Chart pada web, sebaiknya menggunakan data dengan format JavaScript Object Nation (JSON) karena memang format bawaan asli dari library ChartJS untuk memuat data adalah dengan format JSON, ya walaupun dengan PHP juga bisa, tetapi alangkah lebih jika penggunaanya realtime karena kita butuh data … The data object needs to have the following interface for it to be plotted properly. If you have any queries, please leave a comment and I will get back to you as soon as I can. Online JSON Formatter, Validator, Viewer, Editor & Beautifier. “Whole grains 12.99%”) on top of our chart. Listing 5. aData[0] has the data for X-Axis labels and aData[1] has the data for Y-Axis correspondingly.