timeRange
The timeRange is specific to timePeriod’s custom value.
It defines following values based on which values are decided for granularity filter. For custom time period, the granularity is calculated based on hour, day, week, and month values.
| Element | Required | Type | Default Value | Value Range | Description |
|---|---|---|---|---|---|
| from | No | Integer | 1 | Numeric value | For custom timePeriod filter, some attributes define the behavior of granularity. For example, if total time is 1 - 24 (24 is exclusive) hour, then the value for granularity filter can be Hourly. If total time is 1 - 99999 (99999 is exclusive) days, then granularity filter value is Daily. Typically, these values can be used for most dashboards. |
| to | No | Integer |
|
Numeric value | For custom timePeriod filter, some attributes define the behavior of granularity. For example, if total time is 1 - 24 (24 is exclusive) hour, then the value for granularity filter can be Hourly. If total time is 1 - 99999 (99999 is exclusive) days, then granularity filter value is Daily. Typically, these values can be used for most dashboards. |
| values | Yes | String | Comma-separated set of values. | ||
| displayValues | No | String | Comma-separated set of display values. |


