Chartjs-How to pass dynamic values as objects inside data in line chart?

0👍

Using the formatAMPM as a helper, you can make something like:

data = objects.map(item => { return item.speed; })
labels = objects.map(item => { return formatAMPM(item.fixTime); })

Leave a comment