Looking for code assistance, I have a data object serving as my data source.
var data = [ {
"label":"May 7",
"value":25736.6,
"proID":"ISB"
},
// more data objects...
];
I'm manipulating this data to generate another object structure:
const labelsAdded = new Set();
// code logic...
My question is how can I dynamically place the extracted data in the correct date position?
{
"label":"May 8",
"value":7893.3,
"proID":"LI8"
}
For example, if it's May 8 data, it should go under May 8 category. However, in my current implementation, it's not positioning properly causing graph inaccuracies due to incorrect placement.
Visit my jsfiddle link here for a clearer understanding of the issue described. See the problem image https://i.sstatic.net/sL3iz.png