OnClick() event
- Last UpdatedNov 26, 2024
- 1 minute read
The OnClick() event is fired when the user clicks on any bar on the OEE KPI control. When fired, the graph type displayed will change based on the bar that was clicked on. If reason groups are being displayed, clicking on a reason group will update the graph with the reason data for the selected reason group using the same filters. The CountsAndDurationGraphType property will not be changed; the users will have to catch the click event if they want to update the UI to indicate that reasons are being displayed. If the graph is displaying the reasons for a particular reason group, the UI must provide a means for getting back to displaying the reason groups. If reasons are being displayed and a reason is clicked on, the graph will change to display the utilization states associated with the reason. If utilization states are being displayed and a state is clicked on, the graph will change to display the reason groups that the utilization state is part of. Again, the same filters will be applied and the CountsAndDurationGraphType property will not be changed.
Syntax
OnClick();
