Plot chart with data from API

Hi all!,
I was looking for any topic with this issue solved but it wasn’t possible.
So I am sending this data to the chart plugging.
format 1: x points are a list and y points other list, so two list of point, one for each axis.
format 2: points are inside of a list. example. [[x1,y1],[x2,y2]…]

Any help?
{
“statusCode”: 200,
“headers”: {
“Content-Type”: “application/json”
},
“body”: {
“time”: [
0,
0.1,
0.2,
0.3,
0.4,
0.5,
0.6,
0.7,
0.8,
0.9,

],
“amplitude”: [
0,
0.09983342,
0.19866933,
0.29552021,
0.38941834,
0.47942554,
0.56464247,
0.64421769,
0.71735609,
0.78332691,
0.84147098,
0.89120736,
0.93203909,
0.96355819,

    ],
    "other": [
        [
            0,
            0
        ],
        [
            0.1,
            0.09983342
        ],
        [
            0.2,
            0.19866933
        ],
        ......
    ]
}

}

By the moment I got it with the last proposed format and this conf:
Captura