It should not exist
'
in my array data to draw my chart.
But my data is as follows:
var data=[['1','200','10'],['2','300','15'],...]
How do I convert it this way?
var data=[[1,200,10],[2,300,15],...]
Example:
var data=[['1','200','10'],['2','300','15']];
data.forEach(function (item, index) {
data[index] = item.map(Number);
});
console.log(data);