Trend Chart Mashup
This mashup is designed to be easily replaced with a customized mashup so long as the customized mashup has the same inputs and outputs. For more information, see Replacing Modular Mashups.
The trend chart mashup (PTC.PerformanceAnalysis.Trend_MU) displays trend data for the selected reason once a leaf node (lowest level) of the reason tree has been reached.
The Performance Analysis window with a red rectangle indicating the trend chart mashup.
The information displayed in the trend chart is determined by the applied filter selections and the reason selected in the previous chart.
For more information, see Trend Analysis Chart.
The PTC.PerformanceAnalysis.Trend_MU mashup uses a single Line Chart widget.
The input parameters for the PTC.PerformanceAnalysis.Trend_MU mashup are:
timeLossData—Infotable containing the time loss data for blue bar selected in the waterfall or Pareto chart.
chartTitle—The title displayed in the chart widget.
endDate—The current date in the user’s local time zone or the end date from the applied Date Range picker, which ever is earliest.
managerName—The name of the manager Thing from which the services on this mashup are run. This value is passed in from the main Performance Analysis mashup (PTC.PerformanceAnalysis.Analysis_MU).
materialMasterUid—The UID for the material selected in the applied Material filter.
navigationHistory—An infotable containing the navigation history of the selected loss categories and reasons as you navigate through the waterfall and Pareto charts. Used by the GetTrendDisplayData service to build the tooltip for the trend chart.
startDate—The start date from the applied Date Range filter.
thingName—The name of the Thing for the equipment selected in the applied Equipment filter.
The PTC.PerformanceAnalysis.Trend_MU mashup has no output parameters.
The mashup uses the following dynamic services from the PTC.PerformanceAnalysis.Management_TS Thing Shape:
GetTimeLossDisplayData—Retrieves the formatted time loss display data for the specified inputs.
GetTrendChartTitle—Retrieves the data to display in the trend chart title.
Dynamic services allow you to select the entity to execute a service at runtime. In this case, the service can be executed from any entity that implements the PTC.PerformanceAnalysis.Management_TS Thing Shape. For more information, see Dynamic Services in the Mashup Builder section of the ThingWorx Help Center.
Was this helpful?