Help

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

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

image

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?

1 Reply 1
augmented
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!