Chart.js: Count Database Entry and Display on Chart.js.

Thank you @yisrael-wix I actually went through these examples, but the chart goes blank. So what I also intended was to create an array and post the array to the chart to serve as the yValues. I tried different postmessage and onMessage examples but still doesn’t work. If you could help with a code for that I will greatly appreciate it. Thank you againn