I have to make a dynamic graph in asp.net. for this i need this type of data structure:- [[0, 0, 8], [0, 1, 2], [0, 2, 7] array inside array ,
i have used array.push ,but that convert my data set into this format:
'for (var i = 0; i < forth.length; i++)
{
result.push([present2[i], present1[i], present3[i]]);
}
[0, 0, 8, 0, 1, 2, 0, 2, 7].'
I have 3 set of array: present2,present1,present3 'present2:-[0,1,2,3,4,5] present1:-[0,1,2,0,1,2] present3:-[8,2,7,1,4,2]'
now i want to create this type of structure using them '[[0, 0, 8], [0, 1, 2], [0, 2, 7]]' How can i do this?