Resource data construction
Overview
[
{
'date': '2022-03-01',
'data': [{
'time': '08:00',
'count': '1'
}, {
'time': '08:30',
'count': '2'
}]
},
{
'date': '2022-03-02',
'data': [{
'time': '07:00',
'count': '1'
}, {
'time': '08:00',
'count': '2'
}]
},
...
]
Details
Root array
The root array length must be rather than the number of displayDateCount.
Inside Objects
| Key | Type | Construction |
|---|---|---|
| date | String | The format is 'YYYY-MM-DD' |
| data | Array | Inner data type must to be Objecttime is required.You can add some values if you want. |