Designing Custom Block using Chart JS, What is syntax to get column array data from table into data point

image

Hi folks, I’m having alot of issues calling the records array that holds all the column data in my grid into my chart.js react file.

Currently I have a static array in my data field where I am manually entering inputs but I want the data field to be able to read directly from a specific column array so it will update dynamically?

Does anyone have any examples on how to have this done?

This may or may not be helpful. First, here’s a link to the simple chart index.js file.

Look at functions useRecords and getChartData.

Good luck!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.