Skip to content

Page time picker ​

About 2 min read

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 ​

SettingTypeDefaultDescription
Default mode
defaultMode
SelectionrelativeRange 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
Number60Length of the rolling window in minutes. The rolling window shortcut uses it too.
Calendar period
calendarPeriod
SelectiondayPeriod 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 offset
calendarOffset
Number00 is the current period, -1 the previous one. Future periods are not allowed.

Shortcuts ​

SettingTypeDefaultDescription
Shortcuts
presets
Custom editor(configuration object)Shortcuts offered by the picker. A narrow picker shows them in a menu.
Allow custom range
allowCustomRange
CheckboxOnLets 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 ​

SettingTypeDefaultDescription
Enable Flashing
enableFlashing
CheckboxOffMakes the widget blink (an opacity pulse every second). Usually bound to an alarm condition.
Log Button
logButton
CheckboxOffAt 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.

2WinScada 2.10