How to connect JSON to chart

I have an internal API which I’m testing, and I’d like to work out how to display data from it. I’m guessing my request is not unique to the widget I’m using.

The API currently returns JSON, an example of which is below.

I’d like to be able to display one measure on the y axis, with time on the x axis.

So, for example, how would I display T_SFC over time? I seem to be specifically having an issue with what to put in to the charts series data field. I’m currently trying something along the lines of {WxAPI.data.FireWeatherData.time, WxAPI.data.FireWeatherData.T_SFC}

The JSON is a data source named WxAPI.

I’ve also tried setting the chart data series to:
[ { "x":WxAPI.FireWeatherData.currentRow["time"], "y": WxAPI.FireWeatherData.currentRow["T_SFC"] } ]

Example JSON

{"FireWeatherData":[{"time":1664852400000,"T_SFC":20.8000011444,"Td_SFC":10.1000003815,"RH_SFC":50.4000015259,"WindMagKmh_SFC":13.0,"WindGustKmh_SFC":22.0,"Wind_Dir_SFC":94.8000030518,"fbi":0.0,"MixHgt_SFC":2046.0},{"time":1664856000000,"T_SFC":20.7000007629,"Td_SFC":10.6999998093,"RH_SFC":52.7999992371,"WindMagKmh_SFC":13.0,"WindGustKmh_SFC":24.0,"Wind_Dir_SFC":91.8000030518,"fbi":0.0,"MixHgt_SFC":1980.0},{"time":1664859600000,"T_SFC":19.8999996185,"Td_SFC":10.8000001907,"RH_SFC":55.7999992371,"WindMagKmh_SFC":14.0,"WindGustKmh_SFC":24.0,"Wind_Dir_SFC":90.3000030518,"fbi":0.0,"MixHgt_SFC":1864.0},{"time":1664863200000,"T_SFC":19.0,"Td_SFC":11.0,"RH_SFC":59.7999992371,"WindMagKmh_SFC":13.0,"WindGustKmh_SFC":22.0,"Wind_Dir_SFC":89.2000045776,"fbi":0.0,"MixHgt_SFC":1769.0},{"time":1664866800000,"T_SFC":17.8999996185,"Td_SFC":10.9000005722,"RH_SFC":63.5999984741,"WindMagKmh_SFC":12.0,"WindGustKmh_SFC":20.0,"Wind_Dir_SFC":89.0999984741,"fbi":0.0,"MixHgt_SFC":1665.0},{"time":1664870400000,"T_SFC":15.9000005722,"Td_SFC":10.9000005722,"RH_SFC":72.1999969482,"WindMagKmh_SFC":9.0,"WindGustKmh_SFC":17.0,"Wind_Dir_SFC":95.0999984741,"fbi":0.0,"MixHgt_SFC":1465.0},{"time":1664874000000,"T_SFC":14.5,"Td_SFC":11.5,"RH_SFC":82.1999969482,"WindMagKmh_SFC":9.0,"WindGustKmh_SFC":17.0,"Wind_Dir_SFC":101.2000045776,"fbi":0.0,"MixHgt_SFC":1024.0},{"time":1664877600000,"T_SFC":13.4000005722,"Td_SFC":11.4000005722,"RH_SFC":87.6999969482,"WindMagKmh_SFC":8.0,"WindGustKmh_SFC":15.0,"Wind_Dir_SFC":103.7000045776,"fbi":0.0,"MixHgt_SFC":509.0},{"time":1664881200000,"T_SFC":12.6000003815,"Td_SFC":11.5,"RH_SFC":93.0,"WindMagKmh_SFC":8.0,"WindGustKmh_SFC":15.0,"Wind_Dir_SFC":92.5999984741,"fbi":0.0,"MixHgt_SFC":403.0}]}

Hey! Could you please share the response of WxAPI? I think you are over processing and complicating the chart mapping. It would also help if you could specify the use case you are trying to build an app for.