workbench-WebChart

This view plots historical data, live historical data, and live data, as well as schedules. It is the default history view for history records in Workbench and in Hx, and a secondary view on schedules and Enum, Numeric, and Boolean points. Legacy charts, those created in earlier releases, are available as secondary History Chart views on history records.

In Niagara 4 the Chart view is the default view for histories. While the History Chart view is a secondary view for legacy charts created an earlier release. Although the two views have a different look and feel, both offer many of the same controls and options.

Figure 1. Chart view description


  • Settings icon — click to access chart Settings window
  • Command bar — click icons to launch chart commands
  • Cursor position indicator
  • Data Value popup — displays when cursor is on a point
  • Y-Axis label — default orientation of Y-axis for primary data
  • X-Axis label — default orientation of X-axis. Once you have defined a specific Time Range for the chart, you can click this label to reopen the Time Range window to modify the range.
Export icon in Workbench view:

Export icon in browser view:

You can view histories in different ways in Workbench.

Figure 2. History views available from popup menu


The screen capture shows a menu of views that are available using either the Workbench view selector or a view popup menu.

Chart types

Although you can configure Chart Type via the Settings > Series window, the default chart type is determined by the type of data being presented. For example:

Component typeDefault chart type
Numeric histories and pointsRender as lines with interpolation and display as a line chart.
Numeric schedulesRender as discrete lines with no interpolation and display as a line chart.
Boolean and Enum pointsRender as shaded areas referred to as swim lanes and displayed as a shaded chart. The ordinal of the Enum determines the opacity of the swim-lane fill.
Boolean and Enum schedulesRender as shaded areas referred to as swim lanes and displayed as a shaded chart. The ordinal of the Enum determines the opacity of the swim-lane fill.

Different types of data (Numeric and Boolean or Enum) can be combined on the same chart. To allow you to more clearly view the lines representing the numeric data, the swim lanes representing Boolean and Enum data display with dimmed opacity. Also, you can modify the default chart type of one or more components in a chart. For example, you can set a Boolean writable point to display bars while the data for another component plots a line.

The interactive Chart view allows you to modify the chart while it is rendering. For example, while viewing, you can add one or more points, history records, schedules and even containers of data. When adding data to a chart, the Y-axis automatically adjusts the units and can accommodate different units of measure by displaying multiple Y-axes.

Figure 3. Multiple Y-axes accommodate data with different units of measure


On a chart containing data with three or more different units of measure, such as that shown above, the display still shows dual Y-axes. To switch the units displayed on the secondary Y-axis, click on the dimmed axis label. For example, on the left-side Y-axis, the dimmed % symbol indicates an alternate Y-axis with percent as the unit of measure. Clicking that % symbol switches the Y-axis units from displaying degrees to displaying percentage.

You can hide or show specific data and even completely remove data from a chart. Chart settings can customize the appearance of a chart via selectable data colors, chart type per component, axis orientation, and data source zooming, as well as turning the chart grid on or off, changing the background color, configuring data pop-ups and status colors.

Figure 4. Line chart displaying status colors


Web charts use standard Niagara status colors to indicate current status. The chart above invoked the Status Coloring command, a red dot indicating Alarm status to mark each plot in the Ramp line while an orange dot indicating Fault status marks each plot in the FaultHistory line. Status colors shown in the Fixed Data window confirm the status of charted data.

Shade and Bar charts display status colors. When enabled, and if there is a non-ok status, a color band at the top of the shaded area or bar indicates the status.