Skip to content

Downtime timeline ​

About 3 min read

TwDowntimeTimeline · Category: Charts

Settings ​

These settings are in the properties panel on the right while the widget is selected, mostly in the Downtime Timeline Settings section. The default value is the value the widget has when it is first added to a page.

Machines ​

SettingTypeDefaultDescription
Machines
seriesConfigJson
Series configuration[]Pick tags with a run/stop log; each tag becomes one row. Without a name the log description is shown. Templates apply their tag prefix.
Downtime reasons
reasonOverlay
CheckboxOffShows the entered reasons under the stops in their category color; authorized users click a stop to enter its reason. The edition and the machine must have downtime reasons turned on.

Time range ​

SettingTypeDefaultDescription
Time source
timeSource
Custom editorlocalLocal: the widget uses its own range. Page time: follows the page time picker; without a selection it falls back to its own range.
Range type
rangeMode
SelectionrelativeRolling window that ends now, or a calendar period (day, week, month, quarter, year).
Options: calendar Calendar, relative Relative
Calendar period
calendarPeriod
SelectiondayPeriod used when the range type is calendar.
Options: day Day, week Week, month Month, quarter Quarter, year Year
Window length (minutes)
timeRangeMinutes
Number1440Length of the rolling window in minutes. The server also limits the longest range.
Calendar offset
calendarOffset
Number00 is the current period, -1 the previous one. Future periods are not allowed.

Display ​

SettingTypeDefaultDescription
Maximum segments
maxSegments
Number2000Most state segments returned by one request (1–5000). Beyond it the newest segments are kept, older ones are cut off and a notice is shown; when the cap is at least the number of machines, each machine keeps at least its last state.
Auto refresh (s)
autoRefreshSeconds
Number60While the range includes now the timeline reloads at this interval. 0 turns it off; at least 30 seconds.
Show legend
showLegend
CheckboxOnShows a text legend of the running, stopped and unknown colors.

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, downtimeSchemaVersion, seriesConfigJson, timeSource, rangeMode, calendarPeriod, calendarOffset, timeRangeMinutes, maxSegments, autoRefreshSeconds, showLegend, reasonOverlay

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