Show TOC

Background documentationi5SPCChart Accessor Methods Locate this document in the navigation structure

 

You can use the accessor methods in the table below to return point data values, identifiers, attributes, comments, and alarms from an SAP Manufacturing Integration and Intelligence (SAP MII) statistical process control (SPC) chart. For more information, see i5SPCCharts Component Methods.

Features

The following table describes the i5SPC chart accessor methods.

Method

Returns

int getUpperSelectedPoint()

int getLowerSelectedPoint()

The selected point on the chart. Use with other get statements to return point, attribute, or alarm values for points at a specific index.

double getUpperDataValueAt(int PointNumber)

double getLowerDataValueAt(int PointNumber)

The value of the point at the indicated index for the chart.

String getUpperIDAt(int PointNumber)

String getLowerIDAt(int PointNumber)

The concatenated value of the unique identifier values for the point at the indicated chart index.

int getUpperAttributeCount()

int getLowerAttributeCount()

The number of attribute columns for the chart.

String getUpperAttributeValueAt(int PointNumber, int AttributeNumber)

String getLowerAttributeValueAt(int PointNumber, int AttributeNumber)

A string representing the attribute column value for the point at the indicated index and the indicated attribute index.

String getUpperAttributeNameAt(int AttributeNumber)

String getLowerAttributeNameAt(int AttributeNumber)

The attribute column name for the indicated attribute index for the chart.

String getUpperAttributeAt(int PointNumber, String AttributeName)

String getLowerAttributeAt(int PointNumber, String AttributeName)

The attribute column value for the point at the indicated index and the indicated attribute column name for the chart.

int getUpperAlarmCount(int PointNumber)

int getLowerAlarmCount(int PointNumber)

The number of alarms for the point at the indicated index for the chart.

String getUpperAlarmAt(int PointNumber, int AlarmNumber)

String getLowerAlarmAt(int PointNumber, int AlarmNumber)

The rule violation message for the point at the indicated index and the indicated alarm number for the chart. There may be multiple alarms for a single point.

String getUpperChartType(String ChartType)

String getLowerChartType(String ChartType)

The chart type. For example, the upper method returns XBAR for an XBAR-MR chart. The lower method returns MR for an XBAR-MR chart. For single charts such as XBAR or EWMA, the lower method returns an empty string.

int getUpperNumberOfDataPoints()

int getLowerNumberOfDataPoints()

The number of points in the chart data set (subgroups points, not raw data).

boolean isUpperHasComments(int PointNumber)

boolean isLowerHasComments(int PointNumber)

A true result if the indicated chart point has a comment associated with it.

getLowerPointByID(String ID)

getUpperPointByID(String ID)

Returns the position of a point by ID

setLowerSelectedPoint(int PointNumber)

setUpperSelectedPoint(int PointNumber)

Sets the point as selected

setLowerSelectedPointByID(String ID)

setUpperSelectedPointByID(String ID)

Sets the point as selected