Date Time Range Widget
Last updated
Last updated
In Date Time Range widget, user has two options of Range Type.
Absolute - Here, user can select specific start date and end date using calender.
Relative - Here, user can provide interval like days, months, weeks etc. This can be used to check history data. For example, data of last 3 weeks starting from current time.
General Setting
User can change following things in Date Time Range widget:
Name for widget which will be used data reference. For Example, if widget name is 'Date Time Range', then data of widget is referenced as Data Time Range.startDate and Data Time Range.endDate
Show title - User can show/hide widget title
Title Color
Background Color
Date Time Range widget does not support Source settings.
In Widget Setting option, user can change following parameters:
Date Format - User can define any Date Format here. For example, dd/MM/yyyy HH:mm:ss.
Date Time Range widget does not support Event handling.
Test Case 1:
If user want to fetch data using Action which requires startTime and endTime as parameter and show it to Table Widget. So following are the steps to perform this operation and are as follows.
Add Table Widget to dashboard and change its color, background color, file name as per requirement.
Now go to Source tab of Table Widget, and select mode as Action, and select a required ActionID from dropdown.
Now, in Action Parameter, select parameter as Date Time Range.startDate and set Key as startTime, and enable Reload On Change operation.
Similarly, select parameter as Date Time Range.endDate and set Key as endTime, and enable Reload On Change operation.
It will send JSON object to given ActionID as shown in below block. And received response of action will get shown in table.