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.
Widgets
The PTC.PerformanceAnalysis.Trend_MU mashup uses a single Line Chart widget.
Inputs
The input parameters for the PTC.PerformanceAnalysis.Trend_MU mashup are:
selectedBar—An infotable containing the information for the bar that is selected in the waterfall or Pareto chart.
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.
chartTitle—The title displayed in the chart widget.
startDate—The start date from the applied Date Range filter.
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.
thingName—The name of the Thing for the equipment selected in the applied Equipment filter.
materialMasterUid—The UID for the material selected in the applied Material filter.
Outputs
The output 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.
Services
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 Platform Help Center.
Was this helpful?