I need to create 2 arrays form one array with object that consist of 2 elements.
I've got array form axios call:
chartdata: Array [4]
[{"total":3,"month":9},
{"total":5,"month":5},
{"total":9,"month":2},
{"total":4,"month":1}]
How can i get array of totals and array of months?