I would like to create a line chart (android) from data coming from Json (API) but it's a bit difficult. In the following example, I have data from 0 to 4, but if I have thousands of data, how can I do it?
{
"0": {
"strength": 60,
"angle": 5,
"date": "2018-07-01T18:45:54.000Z"
},
"1": {
"strength": 33,
"angle": 52,
"date": "2018-07-01T18:46:13.000Z"
},
"2": {
"strength": 33,
"angle": 75,
"date": "2018-07-01T18:46:21.000Z"
},
"3": {
"strength": 96,
"angle": 63,
"date": "2018-07-01T18:46:22.000Z"
},
"4": {
"strength": 30,
"angle": 40,
"date": "2018-07-22T02:03:57.000Z"
},
"success": true
}