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

Topic Labels: Extensions
1146 1
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast



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?

1 Reply 1
10 - Mercury
10 - Mercury

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!