Page time picker
TwPageTimePicker · Category: Charts
Settings
These settings are in the properties panel on the right while the widget is selected, mostly in the Page Time Picker Settings section. The default value is the value the widget has when it is first added to a page.
Default range
| Setting | Type | Default | Description |
|---|---|---|---|
Default modedefaultMode | Selection | relative | Range the page opens with: a rolling window that ends now or a calendar period. Options: relative Rolling window, calendar Calendar period |
Window length (minutes)relativeMinutes | Number | 60 | Length of the rolling window in minutes. The rolling window shortcut uses it too. |
Calendar periodcalendarPeriod | Selection | day | Period used when the default mode is calendar: day, week starting on Monday, month, quarter or year. Options: day Day, week Week, month Month, quarter Quarter, year Year |
Calendar offsetcalendarOffset | Number | 0 | 0 is the current period, -1 the previous one. Future periods are not allowed. |
Shortcuts
| Setting | Type | Default | Description |
|---|---|---|---|
Shortcutspresets | Custom editor | (configuration object) | Shortcuts offered by the picker. A narrow picker shows them in a menu. |
Allow custom rangeallowCustomRange | Checkbox | On | Lets viewers choose any start and end date and time (at most 366 days) at runtime. The custom range is never saved as the page default; Now returns to the default range. |
Other settings
| Setting | Type | Default | Description |
|---|---|---|---|
Enable FlashingenableFlashing | Checkbox | Off | Makes the widget blink (an opacity pulse every second). Usually bound to an alarm condition. |
Log ButtonlogButton | Checkbox | Off | At runtime shows a chart icon when hovering the widget; clicking it adds the Tags bound to the widget to the log Tag list. |
Bindings
In the Bindings (Rules) section of the properties panel, a Tag can be bound to the following properties of this widget with a Direct binding. The binding types (Direct, IntRange, FloatRange, Boolean, Bit) are the same for all widgets; they are described on the Widget Reference page.
title, visible, authorization, x, y, width, height, rotation, class, foregroundColor, backgroundColor, borderColor, borderStyle, borderWidth, borderRadius, borderTopLeftRadius, borderTopRightRadius, enableFlashing, logButton, pageTimeSchemaVersion, defaultMode, relativeMinutes, calendarPeriod, calendarOffset, presets[0], presets[1], presets[2], presets[3], presets[4], presets[5], presets[6], presets[7], allowCustomRange
Common sections
While this widget is selected, the properties panel also shows these common sections: General, Layout, Appearance, Bindings (Rules). These sections are described on the Page Editor page.