Chartjs-Using Objects in chartjs

0👍

it looks like you are saving a String in buyPriceData. It looks like it should be an object

Maybe try this:

buyPriceData[i] = { x: buyPriceData1, y: buyVolData1 };

and then do the same for sellPriceData

Leave a comment