Time Period Table
Contains Table and Time Period Pickers
Model
{
"type": "timeperiodtable",
"dataSource": {
"type": "function",
"lib": "LibName"
},
"table": {}
}
Optional
Initial starttime
and endtime
can be given to initialize the Time Pickers. A limit can also be placed on the time difference between the start and end time by setting the maxDuration
property, enduring that users can’t request too much data when they edit the time range.
The duration value uses the same syntax as the offset part of relative time expressions
{
"starttime": "2020-10-01T00:00:00.000Z",
"endtime": "2020-10-01T00:00:00.000Z",
"maxDuration": "1h2m",
}
Containment
The widget contains other widget(s) and can be accessed directly by:
{
"table": {} // Table Widget.
}
See Table widget for details.