Create a basic trend chart
Create a trend chart to display data over time in graphical format. Display data on a trend chart by:
- Setting the minimum and maximum values
- Adding traces
- Specifying the tag containing the data to depict
- Changing the appearance of a trend chartIMPORTANT:A trend chart clears all traces and resumes when the MaxValue, MinValue, or Visible property of a trend chart changes on the HMI device. For example, changing the MaxValue, MinValue, or Visible property value of a trend chart through a Text Input graphic element causes the trend chart, even while paused, to resume at the current time. Historical data, if available in a data log, appears for data before the current time. The trend chart discards all other data and plots new data.
To create a basic trend chart
- In theTrend Chartscategory of theToolbox, double-click or drag and drop theTrend Chartgraphic element onto the screen.
- In thePropertieswindow, select thePropertiestab.
- Expand theGeneralcategory.
- In theMaxValuebox, type any numeric value greater than theMinValueproperty value.
- In theMinValuebox, type any numeric value less than theMaxValueproperty value.
- Select theTracestab.
- SelectAdd Trace.
- In theValuebox, selectBrowse
and navigate to the tag containing the data to depict on the trace, or enter the tag manually using the exact tag name and format.
- To add additional traces, below the lastTracecard, selectAdd Trace, and in theTagbox select the tag for the trace.TIP:Tips:
- TheValuebox does not have an initial value. Bind theValuebox to a tag in a controller, a user-defined property, or a property of a graphic element. Unbinding this property is not supported.
- To customize the appearance of a trend chart, change the properties in theAppearancecategory on thePropertiestab in thePropertieswindow.
- To customize the appearance of a trace on a trend chart, change the properties inAppearancecategory on theTracestab in thePropertieswindow.
- Trend charts automatically display data from a data log for the specified tag. Tags may exist in more than one data log. The trend chart uses the data log that contains a matching sample rate. If there is more than one data log with a matching sample rate or there is no data log with a matching sample rate, the trend chart uses the first data log.
- The range of signed integers that is represented without losing precision is –(2^53)..(2^53). All integer values outside this range are rounded to 15 significant digits. For example, 8765432109876543210 is rounded to 8765432109876540000, losing the precision for the last four least significant digits.
Provide Feedback