I need to know how connect Wix Database with Chart?

Dear All,
Please help me to connect my Wix database with a Chart. Chart in HTML Code. How can I obtain data from the database to my chart?
Please help me…

Save the data as an array in the database, query it when needed, and post it to your htmlCompnenet/custom element that contains the code for the chart.

Please explain more

@rasikahettige2015
See:
How to query your database

How to post message to an htmlComponenet

Example of using Chart.JS