Show TOC

Background documentationiSPCChart Events Locate this document in the navigation structure

 

The SAP Manufacturing Integration and Intelligence (SAP MII) statistical process control (SPC) charts support the following events in addition to the generally supported applet events. These methods can be used with the chart component methods to get information about individual chart points or subgroups.

Parameter

Use

Data Type

UpperChartSelectionEvent

Provides the name of a JavaScript function in a Web page that is called when you select a point in the upper chart of your iSPCChart applet

String

UpperChartDoubleClickEvent

Provides the name of a JavaScript function in a Web page that is called when you double-click a point in the upper chart of your iSPCChart applet

String

LowerChartSelectionEvent

Provides the name of a JavaScript function in a Web page that is called when you select a point in the lower chart of your iSPCChart applet

String

LowerChartDoubleClickEvent

Provides the name of a JavaScript function in a Web page that is called when you double-click a point in the lower chart of your iSPCChart applet

String

Example

You could use the UpperChartDoubleClickEvent parameter to run a script function that uses the getUpperSelectedPoint() method to create drill-down data retrieval functions based on point selections. To do this, create a function reference in the UpperChartDoubleClickEvent so that the function is called each time you double-click the chart. The getUpperSelectedPoint() method returns the point index for the selected point. Using the returned index, you can request data related to the point from the chart.