Sepasoft MES Module Suite
Process Capability Performance Chart
A component that is used to analyze both Process Capability and Process Performance on the same chart.

Component Palette
Component Properties
Properties are provided that can be set to affect the operation and look of the component. They can be set through the Property Editor in the Designer or through scripting.
Example
Code |
|
Chart
| Name | Scripting | Property Type | Description |
|---|---|---|---|
| Enable Control Limit Editing | enableControlLimitEditing | boolean | If true, allow users to change control limit values. |
| Vertical | vertical | boolean | The orientation of the chart. |
| Chart Background Color | chartBackground | Color | The color of the chart background. |
| Bar Color | barColor | Color | The color of the bars for the chart. |
| Bar Spacing | barSpacing | Float8 | Spacing between bar as a percentage of the bar width. |
| Gradient | gradient | boolean | If true, bars will be painted with a gradient 'shine'. |
| Shadows | shadow | boolean | If true, show shadows for bars. |
| Tick Label Font | tickLabelFont | Font | The font of the tick labels. |
| Tick Label Color | tickLabelColor | Color | The color of the tick labels. |
| Show CP Bell Curve | showCPBellCurve | boolean | If true, show the CP bell curve on the chart. |
| CP Bell Curve Color | cPBellCurveColor | Color | Color of the CP bell curve line. |
| Show PP Bell Curve | showPPBellCurve | boolean | If true, show the PP bell curve on the chart. |
| PP Bell Curve Color | pPBellCurveColor | Color | Color of the PP bell curve line. |
| Show CP LCL | showCPLCL | boolean | If true, show the Cp lower control limit on the chart. |
| CP LCL Color | cPLCLColor | Color | Color of the Cp lower control limit line. |
| Show CP UCL | showCPUCL | boolean | If true, show the Cp upper control limit on the chart. |
| CP UCL Color | cPUCLColor | Color | Color of the Cp upper control limit line. |
| Show PP LCL | showPPLCL | boolean | If true, show the Pp lower control limit on the chart. |
| PP LCL Color | pPLCLColor | Color | Color of the Pp lower control limit line. |
| Show PP UCL | showPPUCL | boolean | If true, show the Pp upper control limit on the chart. |
| PP UCL Color | pPUCLColor | Color | Color of the Pp upper control limit line. |
| Value Axis Title | valueAxisTitle | String | Title to show for the value axis. |
| Frequency Axis Title | frequencyAxisTitle | String | Title to show for the frequency axis. |
| Axis Title Font | axisTitleFont | Font | Font for both axis titles. |
| Axis Title Color | axisTitleColor | Color | Color to display both axis titles. |
| Vertical Grid Line Color | vertGridLineColor | Color | The color of vertical grid lines. |
| Show Vertical Grid Lines | showVertGridLines | boolean | If true, show vertical grid lines on charts. |
| Horizontal Grid Line Color | horzGridLineColor | Color | The color of horizontal grid lines. |
| Show Horizontal Grid Lines | showHorzGridLines | boolean | If true, show horizontal grid lines on charts. |
Calculated Values
| Name | Scripting | Property Type | Description |
|---|---|---|---|
| Mean | mean | Float8 | The mean value. |
| Cp Standard Deviation | cPStdDev | Float8 | The Cp standard deviation value. |
| Cp lcl | cPLcl | Float8 | The Cp lower control limit value. |
| Cp ucl | cPUcl | Float8 | The Cp upper control limit value. |
| cp | cp | Float8 | The cp value. |
| cpu | cpu | Float8 | The cpu value. |
| cpl | cpl | Float8 | The cpl value. |
| cpk | cpk | Float8 | The cpk value. |
| cpm | cpm | Float8 | The cpm value. |
| cr | cr | Float8 | The cr value. |
| cpm | cpm | Float8 | The cpm value. |
| Pp Standard Deviation | pPStdDev | Float8 | The Pp standard deviation value. |
| Pp lcl | pPLcl | Float8 | The Pp lower control limit value. |
| Pp ucl | pPUcl | Float8 | The Pp upper control limit value. |
| pp | pp | Float8 | The pp value. |
| ppu | ppu | Float8 | The ppu value. |
| ppl | ppl | Float8 | The ppl value. |
| ppk | ppk | Float8 | The ppk value. |
| pr | pr | Float8 | The pr value. |
| ppm | ppm | Float8 | The ppm value. |
Event Handlers
Event handlers provide the ability to add custom script when a user interacts with a component such as by clicking a mouse, selecting a menu item or when a component property changes.
mouse
mouseClicked
This event signifies a mouse click on the source component. A mouse click the combination of a mouse press and a mouse release, both of which must have occurred over the source component. Note that this event fires after the pressed and released events have fired.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseEntered
This event fires when the mouse enters the space over the source component.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseExited
This event fires when the mouse leaves the space over the source component.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mousePressed
This event fires when a mouse button is pressed down on the source component.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseReleased
This event fires when a mouse button is released, if that mouse button's press happened over this component.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseMotion
mouseDragged
Fires when the mouse moves over a component after a button has been pushed.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseMoved
Fires when the mouse moves over a component, but no buttons are pushed.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .button | The code for the button that caused this event to fire. |
| .clickCount | The number of mouse clicks associated with this event. |
| .x | The x-coordinate (with respect to the source component) of this mouse event. |
| .y | The y-coordinate (with respect to the source component) of this mouse event. |
| .popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
| .altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
| .controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
| .shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |
propertyChange
propertyChange
Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.
| Property | Description |
|---|---|
| .source | The component that fired this event. |
| .newValue | The new value that this property changed to. |
| .oldValue | The value that this property was before it changed. Note that not all components include an accurate oldValue in their events. |
| .propertyName | The name of the property that changed. NOTE: Remember to always filter out these events for the property that you are looking for! Components often have many properties that change. |

Extension Functions
This component does not have extension functions associated with it.
Custom Methods
Custom methods allow you to add your own component functions to a component that can be called through scripting. This is a useful and clean method of re-using script that is specific to the component (say you want to update a visual aspect of the component in the same way whether a user clicks on the component or a window property value changes). See Component Custom Methods in the Ignition Help Manual for more information.

Customizers
This component does not have any custom properties.
Component Functions
This component provides the following function that can be called on it. If this component has been dropped onto the windows root container, the path and an example call would be event.source.parent.getComponent('Process Capability Performance Chart').showSetLimitPanel(chartName).
showSetLimitPanel(chartName)
- Description
Causes the calculate and set control limit dialog to be shown.
- Parameters
String chartName - Which chart to show the control limit dialog for. Available options are "Primary".
- Return
Nothing
- Scope
Client
Sepasoft MES Module Suite