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); })
Source:stackexchange.com
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); })