Waterfall 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 waterfall chart mashup (PTC.PerformanceAnalysis.Waterfall_MU) displays the breakdown of production time and loss buckets in a waterfall chart.
The Performance Analysis window with a red rectangle indicating the waterfall chart mashup.
The information displayed in the waterfall chart is determined by the applied filter selections. When a work center is selected in the equipment filter, you can drill down into the loss buckets by selecting one of the blue bars in the chart.
For more information, see Time Loss Waterfall Chart.
The PTC.PerformanceAnalysis.Waterfall_MU mashup uses a single Waterfall Chart widget.
The input parameters for the PTC.PerformanceAnalysis.Waterfall_MU mashup are:
chartTitle—The title displayed in the chart widget.
endDate—The end date from the applied Date Range filter.
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.
normalizeState—A Boolean indicating the state of the Show Average Week button.
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 output parameters from the PTC.PerformanceAnalysis.Waterfall_MU mashup are:
selectedBar—An infotable containing the information for the bar that is selected in the waterfall or Pareto chart.
selectedBarChanged—The timestamp when the bar was selected.
totalLossHours—The total loss hours show in the waterfall chart.
waterfallData—Infotable containing the data displayed in the waterfall chart.
These output values are passed back to the main Performance Analysis mashup (PTC.PerformanceAnalysis.Analysis_MU)).
The mashup uses the following dynamic services from the PTC.PerformanceAnalysis.Management_TS Thing Shape:
GetCurrentWaterfallDisplayData—Retrieves the correct data set to display from the GetWaterfallDisplayData service output, based on the normalizeState setting.
GetWaterfallDisplayData—Retrieves both display data sets for the waterfall chart: the actual data and the data normalized for an average week.
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?