I need help in here. I am confused how to get the object data in a proper way. When console.log(response.data.Data) My data looks like this :
Object {
"2014": Object {
"1": "3.385",
"10": "-0.191",
"11": "0.383",
"12": "0.191",
"2": "3.023",
"3": "3.667",
"4": "3.774",
"5": "-2.045",
"6": "2.088",
"7": "5.455",
"8": "-3.448",
"9": "16.741",
},
"2015": Object {
"1": "1.905",
"10": "5.092",
"11": "-4.070",
"12": "7.475",
"2": "5.421",
"3": "5.142",
"4": "-9.106",
"5": "4.824",
"6": "-4.425",
"7": "-2.963",
"8": "-1.527",
"9": "-4.845",
},
"2016": Object {
"1": "-1.504",
"10": "-1.115",
"11": "-7.891",
"12": "8.392",
"2": "2.863",
"3": "-1.299",
"4": "-1.880",
"5": "-0.383",
"6": "2.500",
"7": "8.443",
"8": "4.152",
"9": "4.319",
}
}
I cannot use console.log(response.data.Data.2014) or console.log(response.data.Data.object).
I want to get the year and the month object data. How do I get this object data ?
Thank You