SPC Individual Chart - Perspective

Sepasoft MES Module Suite

Perspective SPC Charts | Individual Chart

The Individual Chart presents the absolute difference between two consecutive values.

For SPC data analysis when:

  • grouping measurements into rational subgroups is not possible,
  • monitoring actual observations is preferred to viewing subgroup averages
  • the process distribution is very skewed or bounded.

The Perspective Chart component is in Ignition Designer | Perspective Component Palette.

Note Available in MES 3.81.7 RC1 and later

Installed with SPC Module

Viewing SPC Chart



Sample DataTable of samples showing data points. You can show or hide the table by setting the showTable property.

Sample DetailsMouse-over a data point to display the statistical information configured for the chart and a timestamp.

Primary Average Line
Upper Control Limit

Lower Control Limit

The purple line above shows the primary average by enabling showPrimaryAverage property, see below.

The red lines above and below the midline depict the upper and lower control limits. Data points that land in between the upper and lower lines are known as common-cause variation. 

Data points outside of limitsPoints outside of the limits, called special-cause variation. For information about configuration Signals and Rules, see SPC Signals.

Table Chart Scroll Locking

When the showTable property is set to True, the table chart scroll locking feature provides a user-controlled mechanism to either automatically navigate to the most recent data upon its arrival or maintain the current scroll position.
The scroll lock feature operates in two distinct modes, each with specific UI indicators and behavioral responses to new data.
Success

This feature is available in versions:

MES 3.81.11 SP7 and later

MES 4.83.0 RC2 and later

State
Detailed Description
Locked
UI: The lock icon in the taskbar appears closed and filled.
Behavior: The chart view is locked to the right, automatically jumping to the end of the table whenever new data is received.
Tooltip: Hovering over the icon displays the text: "Allow Free Scrolling".
Free Scrolling
UI: The lock icon in the taskbar appears open and unfilled.
Behavior: The chart maintains its current scroll position, even when new data is received.
Tooltip: Hovering over the icon displays the text: "Lock Scrolling".

SPC Individual Chart in Ignition Designer

 The Designer Perspective Component lists the chart. Once you add the chart to the design area, it displays and you have access to its properties in the Perspective Property Editor.

Component Properties

Properties affect the operation and look of the component. They can be set through the Perspective Property Editor in the Designer or through scripting.


META Name

spcIndividualChart

Code Example

Code
self.getSibling("Individual").noDataMessage = "No data message"

The editor displays a tree of properties. The PROPS node organizes the Dataset properties.

SPC Perspective Chart Dataset Properties 

These properties are available in the Ignition Properties Palette for SPC Charts.


Property Source
propertySource

Sets the datasource mode. Toggle two options: Use_stored_settings | Use_binding

Included in Sepasoft Versions:

Warning

MES 3.81.7 RC1 and later


Use_stored_settings: Sets the chart to receive data from Stored Settings. To use this, enter property values under storedSettings, see below.


Use_binding: Sets the chart to receive data from an SPC Controller. To use this, bind to an SPC Controller under spcChartSettings, see below.


When clicking the binding icon on the left side of the propertySource, the Configure Property Binding dialog appears. 


Stored Settings storedSettings

Set property values here when propertySource is set to Use_stored_settings




Property Name Data Type Property Value Description
storedSPCName String

Required when propertySource = 'Use_stored_settings': Sets name of the Stored SPC Setting. The name must match exactly to the name you enter in Stored SPC Selector.

Note

Stored SPC Selector component only offered in VISION.

See Stored SPC Selector | Vision

location String Optional: Filter on a Location that is defined in Equipment Manager. Enter the Equipment Path to the Location.
startDate Date

Required: Sets start date to filter SPC data on

Note Bind to form fields on the view to make dates selectable in runtime.

Required: Sets end date to filter SPC filter on

endDate Date
autoRefresh Boolean True/False Required: True, refreshes data when sample or definition information changes. Set to True to use real-time data.
SPC Chart Settings
spcChartSettings

Set property values here when propertySource is set to Use_Binding


Bind to the SPC Controller



Property Name Data Type Information
storedSPCName String

Incoming property value from the SPC Controller > Stored Setting.

startDate Date Sets start date to start filtering data on 
endDate Date Sets end date to filter data on
autoUpdate Boolean Required True/False: True, updates data when a sample is taken. Use for realtime data.
autoRefresh Boolean Required True/False: True, refreshes data when sample or definition information changes. Use for realtime data.




settings

additionalFactors
String - Additional factors to include in the SPC chart.

attributeName: 

String - Name of the sample attribute

attributeUnits
String - Adds a label for the unit of measure for the sample

boxAndWhiskerFilter

Chart Specific

String - Box and whisker filter items to filter on.
controlLimits: 
String - Summarizes control limits to add to the chart

definitionName: 
String - Name of the sample definition.

filters: 


String - 

location: The Location Path defined in the Equipment Manager to filter on.

factors: Properties >Additional Factor 

Filter on existing additional factors


measurement: 
String - Measure number to filter on

nonconformingFilter

Chart Specific

String - Nonconforming items to filters on

nonconformityFilter

Chart Specific 

String - Nonconformity items to filters on

paretoFilter

Chart Specific

String -  Items to include in a Pareto chart.
rowLimit: 
 String - The maximum number of samples to return in the results.
signals
String - Summarizes your signal selections in a string.
spcDataFormat: 

 String -  SPC Data

Note Each chart type has specific settings. Select the correct chart from the dropdown menu.
useDefaultChartType: 
String - If true, uses the default chart type from the attribute definition.
useDefaultChartType: 
String - If true, uses the default chart type .
enableFutureLimitEditing:
String -If true, you can set limits for future (non-existing) samples.


histogram

autoBarCount:
Boolean - If true, the number of data bars that are displayed is calculated automatically.
dataBarCount
int - The number of data bars to display when autoBarCount is False.
paddingBarCount
int - The number of bars prior to and following the data bars to include in the histogram results.




dynamic

When using an SPC Controller to populate a Perspective SPC Chart, these dynamic filters can be used to filter the data for display in a chart.

factor 
String - Additional factors that were recorded along with the sample.
location
String - The location path where the samples were collected.
productCode
String - Samples returned should have this Product Code if present.
referenceNo
String - Samples returned should have this Reference Number if present.
sampleApprovedBy
String - The username of the user that approved the samples.
sampleTakenBy
String - The username of the user that recorded the samples.
shift 
 String - A schedule shift during which the samples were taken.




spcResults

SPC Results including data, measurement count, messages and calculated value information.


definitionUUI

  • calcValueList
    • defaultChart
    • measureFormat
    • unit

measurementCount

  • messages
    • errormessage
    • warningMessage
spcData: dataset - The SPC data.



showTable
Boolean

Enable to display the data table. The table is updated as new data comes in.

Table Chart Scroll Locking

The table chart scroll locking feature provides a user-controlled mechanism to either automatically navigate to the most recent data upon its arrival or maintain the current scroll position.
The scroll lock feature operates in two distinct modes, each with specific UI indicators and behavioral responses to new data.
Success

This feature is available in versions:

MES 3.81.11 SP7 and later

MES 4.83.0 RC2 and later

State
Detailed Description
Locked
UI: The lock icon in the taskbar appears closed and filled.
Behavior: The chart view is locked to the right, automatically jumping to the end of the table whenever new data is received.
Tooltip: Hovering over the icon displays the text: "Allow Free Scrolling".
Free Scrolling
UI: The lock icon in the taskbar appears open and unfilled.
Behavior: The chart maintains its current scroll position, even when new data is received.
Tooltip: Hovering over the icon displays the text: "Lock Scrolling".


Properties Common to SPC Charts with Measurable Values

These properties are available in the Ignition Properties Palette for SPC Charts that have values that are measurable with datatypes such as floats and integers.

Name

Scripting Reference

Data TypeDescription
columnWidthInteger - The width of the table columns.
dateFormat

The date formatting pattern used to display the date

MM/dd/yyyy

dd-M-yyyy hh:mm:ss

dd MMMM yyyy

rowHeightThe height of the table rows.
scrollXThe scroll bar x position.
showTable

Boolean - Toggle to show or hide the sample data table.

When showTable is set to True: Table Chart Scroll Locking

The table chart scroll locking feature provides a user-controlled mechanism to either automatically navigate to the most recent data upon its arrival or maintain the current scroll position.
The scroll lock feature operates in two distinct modes, each with specific UI indicators and behavioral responses to new data.
Success

This feature is available in versions:

MES 3.81.11 SP7 and later

MES 4.83.0 RC2 and later

State
Detailed Description
Locked
UI: The lock icon in the taskbar appears closed and filled.
Behavior: The chart view is locked to the right, automatically jumping to the end of the table whenever new data is received.
Tooltip: Hovering over the icon displays the text: "Allow Free Scrolling".
Free Scrolling
UI: The lock icon in the taskbar appears open and unfilled.
Behavior: The chart maintains its current scroll position, even when new data is received.
Tooltip: Hovering over the icon displays the text: "Lock Scrolling".
editControlLimitImagePathBoolean - Image icon to show to edit control limits.
enableControlLimitEditing

Toggle show/hide

When enabled, an edit button is displayed. 

Once a control-limit type is selected and Calculate is checked, a limit value is calculated and displayed. 

If the value box is populated and date is selected, you can choose to set the limit value. 

A message displays:

  • operation (set or calculate) executed successfully.
  • Error message detail 
enableNoteEditingBoolean - If true, you can add and edit notes on the chart.


enableNoteDeletionBoolean -If true, you can delete notes on the chart.
enablePointDeletionBoolean -If true, you can hide/restore data points on the chart.

enableSampleDeletionBoolean -If true, you can exclude samples on the chart.

limitDialogOffsetX

Integer - The horizontal offset to display the control limit dialog box.

Works in conjunction with enableControlLimitEditing

limitDialogOffsetY

Integer -The vertical offset to display the control limit dialog box.

Works in conjunction with enableControlLimitEditing

markerImagePathString - The relative path of an image to display for markers.
noteImagePathString -The relative path of an image to display for notes when showNotes is enabled.
primaryChartAxisTitleString -Title to show for the primary axis. The color attribution is based on the sequence in which the additional factors are added to the SELECT statement in the FilterBy clause.
showAdditionalFactorColors

Boolean - Defaults to True. In 3.81.11 SP1 and later

The color attribution of the points on a chart is based on the sequence in which you add additional factors to the FilterBy clause of the Select statement.


When a point on a chart is outside a Control Limit the circled is filled-in as a solid circle. When inside the limits, the circle is an outline.



showAttributeNameAsTitle

Boolean - Defaults to False. In 3.81.10 SP8 and later.

When true the first attribute on the chart is used as the chart title. If there is more than one attribute displayed on the chart, then the first attribute name is used.
If the attribute displayed on the chart is changed, then the title changes to match the attribute. Supersede the Chart Title.
showNotesBoolean -If true, notes display on the chart.
showPrimaryAverageBoolean -Set to true to display the average line on the primary chart.
yAxisMax

String and Integer -Plots all the values up to and including the maximum value.

yAxisMin

String and Integer -Plots all the values down to and including the minimum value.

axisStyle

rightAxisWidthIntegerWidth of the right chart axis
chartStyle




horzGridLineColorBooleanIf true, show horizontal grid lines on charts.

primaryChartBackgroundColor, picker availableThe background color of the primary chart.

showHorizontalGridLinesBooleanf true, show horizontal grid lines on charts.

vertGridLineColorColor, picker availableThe color of vertical grid lines.
chartDataStyle

calcBackgroundColorSets the background color.

calcFontFont familySets the font family

calcForegroundColor, picker availableSets the foreground color

dataBackgroundColorSets the background color.

dataFontFont familySets the font family

dataForegroundFont familySets the foreground color

dateBackgroundColorSets the background color.

dateFontFont familySets the background color.

dateForegroundColor, picker availableSets the foreground color

visibleMeasurementsintThe number of measurements to show in the table.
chartMarkerStyle




markerLabelFontFont familyThe font family to use for markers.

Meta Properties in the Perspective Property Editor

Name

Scripting Reference

Data TypeDescription
nameStringName of the component. Used in scripting and component tree paths by name, such as during Property Binding.
visible

Boolean

Whether or not this component should display.

tooltip

enable
BooleanWhether the tooltip on hover
width
IntegerThe height of the table rows.
text
StringThe scroll bar x position.
styleBooleanToggle to show or hide the sample data table.
delayBooleanImage icon to show to edit control limits.
sustainInteger

Time, in milliseconds, to display tooltip before removing it. A value of 0 results in the tooltip displaying until the mouse exits the components. 

locationBooleanThe location where the tooltip displays. 
tailBooleanEnables a decorative triangle on the tooltip that points to the tooltip owner. Ignored when location uses a value of 'mouse'.


Event Handlers

Refer to the Ignition User Manual for details on using the available event handlers:

Sepasoft MES Module Suite