Closed sasaki77 closed 2 years ago
This PR fixes #83.
arrayFormat function provides 3 types of array format: timeseries, index, and dt-space.
arrayFormat
timeseries
index
dt-space
Assume that we have following array data:
[ { "meta": { "name": "PV:NAME", "waveform": true, "PREC": "0" }, "data": [ { "millis": 1577804410000, "val": [ val1_1, val1_2, val1_3, val1_4, ..., val1_361 ] }, { "millis": 1577804510000, "val": [ val2_1, val2_2, val2_3, val2_4, ..., val2_361 ] } ] } ]
Each format should return as following:
This PR fixes #83.
arrayFormat
function provides 3 types of array format:timeseries
,index
, anddt-space
.Assume that we have following array data:
Each format should return as following:
timeseries
index
dt-space