Hi,
I have a soil mositure data logger, I am able to extract JSON data via an API function which returns the following format:
[{"t":"2020-06-10T13:20:16.000Z","v":8.776,"ch":5},
{"t":"2020-06-10T13:18:00.000Z","v":0.508,"ch":3},
{"t":"2020-06-10T13:18:00.000Z","v":2.293,"ch":2},
{"t":"2020-06-10T13:18:00.000Z","v":0.45,"ch":4},
{"t":"2020-06-10T13:18:00.000Z","v":0.322,"ch":1},
{"t":"2020-06-10T12:20:16.000Z","v":8.794,"ch":5},
{"t":"2020-06-10T12:18:00.000Z","v":2.297,"ch":2},
{"t":"2020-06-10T12:18:00.000Z","v":0.443,"ch":4},
{"t":"2020-06-10T12:18:00.000Z","v":0.321,"ch":1},
{"t":"2020-06-10T12:18:00.000Z","v":0.501,"ch":3},
{"t":"2020-06-10T11:20:17.000Z","v":8.794,"ch":5},
{"t":"2020-06-10T11:18:00.000Z","v":2.298,"ch":2},
{"t":"2020-06-10T11:18:00.000Z","v":0.434,"ch":4},
{"t":"2020-06-10T11:18:00.000Z","v":0.318,"ch":1},
{"t":"2020-06-10T11:18:00.000Z","v":0.49,"ch":3},
{"t":"2020-06-10T10:20:16.000Z","v":8.794,"ch":5},
{"t":"2020-06-10T10:18:00.000Z","v":2.297,"ch":2},
{"t":"2020-06-10T10:18:00.000Z","v":0.437,"ch":4},
{"t":"2020-06-10T10:18:00.000Z","v":0.319,"ch":1},
{"t":"2020-06-10T10:18:00.000Z","v":0.486,"ch":3},
{"t":"2020-06-10T09:20:16.000Z","v":8.811,"ch":5},
{"t":"2020-06-10T09:18:00.000Z","v":0.458,"ch":4},
{"t":"2020-06-10T09:18:00.000Z","v":0.321,"ch":1},
{"t":"2020-06-10T09:18:00.000Z","v":0.502,"ch":3},
{"t":"2020-06-10T09:18:00.000Z","v":2.296,"ch":2},
{"t":"2020-06-10T08:20:16.000Z","v":8.811,"ch":5},
{"t":"2020-06-10T08:18:00.000Z","v":0.501,"ch":4},
{"t":"2020-06-10T08:18:00.000Z","v":0.327,"ch":1},
{"t":"2020-06-10T08:18:00.000Z","v":0.539,"ch":3},
{"t":"2020-06-10T08:18:00.000Z","v":2.294,"ch":2}]
I would like to chart the "v" value (voltage) against the time, "t". Each "ch" is a sperate moisture sensor and I would like to show these all the same chart. I am just struggling to get the data structure correct to flow into the chart node, can anyone give me some pointers?
Thanks Very Much