iSPCChart Component Methods 
You can use scripting component methods to return information from an SAP Manufacturing Integration and Intelligence (SAP MII) statistical process control (SPC) chart.
The following table lists common component methods to use with SPC charts:
Method | Use |
void toggleUpperSuppressionFlag(int PointNumber) void toggleLowerSuppressionFlag(int PointNumber) | Changes the point's suppression flag value in the chart |
double getStatisticsItem(String StatsItemName) | Returns a floating point number representing the statistical value specified by the string |
double getCalculatedUpperLCL() double getCalculatedLowerLCL() | Returns a floating point number representing the chart's calculated lower control limit |
double getCalculatedUpperCL() double getCalculatedLowerCL() | Returns a floating point number representing the chart's calculated centerline |
double getCalculatedUpperUCL() double getCalculatedLowerUCL() | Returns a floating point number representing the chart's calculated upper control limit |
Since the control and specification values for points on an SPC chart can change over the x-axis, you can use the following methods to retrieve their current values. These methods return a floating point number for the indicated point index. You can get the index for the selected point using the getUpperSelectedPoint() or getLowerSelectedPoint() methods. For more information, see iSPCChart Accessor Methods.
· getUpperLCLAt(index)
· getUpperCLAt(index)
· getUpperUCLAt(index)
· getUpperLSLAt(index)
· getUpperTargetAt(index)
· getUpperUSLAt(index)
· getLowerLCLAt(index)
· getLowerCLAt(index)
· getLowerUCLAt(index)
· getLowerLSLAt(index)
· getLowerTargetAt(index)
· getLowerUSLAt(index)