Configuring Trends & Charts

Trends and charts visualize data over time or across categories. StudioWeb provides six chart DDO types.

Chart Types

TypeVisualBest For
TrendScrolling time-series line chartReal-time data monitoring over time
PlotXY scatter/line chart with numeric axesCorrelation analysis, waveforms
Curve SetGrouped set of curvesMultiple related variables
Bar ChartVertical/horizontal barsComparing discrete values
Pie ChartCircular segmentsProportional distribution
TabularTable grid of valuesMulti-variable numeric display

Trend DDO

The Trend is the most common chart type — a scrolling time-series display.

Key Properties

PropertyDescriptionDefault
Time SpanTime window displayed (seconds)60
Num CurvesNumber of data curves1
GridShow background gridYes
Grid ColorGrid line color#333333
Background ColorChart background#000000
Axis ColorAxis line and label color#ffffff

Curves

Each curve has its own properties:

PropertyDescription
Curve ColorLine color for this curve
Line WidthLine thickness
Min / MaxY-axis range for this curve

Data Binding

Each curve binds to a separate read key:

Curve 1: Read Key = "temperature"
Curve 2: Read Key = "pressure"
Curve 3: Read Key = "flow_rate"

Plot DDO

The Plot displays XY data with numeric axes (not time-based).

Key Properties

PropertyDescription
X Min / X MaxX-axis range
Y Min / Y MaxY-axis range
GridShow grid
MarkersShow data point markers
Num CurvesNumber of plot curves

Features

  • Dipstick: Click on the plot to see exact X,Y values
  • Zoom box: Click-drag to zoom into a region
  • Clip: Data outside the axis range is clipped

Bar Chart DDO

Key Properties

PropertyDescription
Num BarsNumber of bars
OrientationVertical or horizontal
Bar ColorIndividual bar colors
Show ValuesDisplay numeric values on bars
Min / MaxValue axis range

Pie Chart DDO

Key Properties

PropertyDescription
Num SlicesNumber of pie segments
Slice ColorsIndividual segment colors
Show LabelsDisplay segment labels
Show PercentagesDisplay percentage values

Example: Two-Curve Temperature Trend

  1. Place a Trend DDO on the canvas (make it wide — e.g., 400×200)
  2. Set DFD properties:
    • Time Span: 120 (2 minutes)
    • Num Curves: 2
    • Grid: Yes
    • Background Color: #0a0a1a
  3. Configure curves:
    • Curve 1: Color #00ff00, Min 0, Max 100 (temperature)
    • Curve 2: Color #ff6600, Min 0, Max 50 (pressure)
  4. Set HDA for each curve:
    • Curve 1 Read Key: temperature
    • Curve 2 Read Key: pressure
    • Logical Server: peer_fast

Tips

  • Make Trends wide (at least 300px) for readable time axes
  • Use contrasting colors for multiple curves on the same chart
  • Set Time Span to match your monitoring window (60s for fast processes, 3600s for slow)
  • Bar Charts work best with 3–10 bars
  • Pie Charts work best with 3–8 slices

See Also