[Chartjs]-I´m unable to map elements of an array

1👍

I believe if you were to modify you code into something like so:

    var dateG = data.map(function(elem) {
        return elem.map(function(innerElem) {
            return innerElem.fecha
        });
    });

You would end up with dateG as 2D array of fetcha values.

Leave a comment