---
title: CPK Software | Process Capability Graphing | Statgraphics
description: Statgraphics can be used as CPK software with this graphical STATBEANS® tool. Plot a process capability graph using Statgraphics statistical analysis software!
---

[![Statgraphics 19 logo](https://www.statgraphics.com/hs-fs/hubfs/stat19plain-01-1.png?width=2272&height=484&name=stat19plain-01-1.png "Statgraphics 19 logo")](https://www.statgraphics.com)

- [Products](https://www.statgraphics.com/product)
- [Learn](https://www.statgraphics.com/statistics-library)
- [Training](https://www.statgraphics.com/training-and-consulting)

- [Product](https://www.statgraphics.com/product) 
    - [Centurion XVIII](https://www.statgraphics.com/centurion-xvii)
    - [Sigma Express](https://www.statgraphics.com/statgraphics-sigma-express)
    - [Online](https://www.statgraphics.com/statgraphics-stratus)
    - [Web Services](https://www.statgraphics.com/statgraphics-web-services)
- [Learn](https://www.statgraphics.com/statistics-library) 
    - [Statistics Library](https://www.statgraphics.com/statistics-library)
    - [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)
    - [Instructional Videos](https://www.statgraphics.com/instructional-videos)
    - [Applications/ Case Studies](https://www.statgraphics.com/application)
- [Training & Consulting](https://www.statgraphics.com/training-and-consulting) 
    - [Statpoint Seminars](https://www.statgraphics.com/statpoint-seminar)
    - [Statpoint Instructors](https://www.statgraphics.com/statpoint-instructor)
    - [Training Partners](https://www.statgraphics.com/training-partners)
    - [Webinars](https://www.statgraphics.com/webinars)
- [Support](https://www.statgraphics.com/customer-support-overview)
- [Blog](https://www.statgraphics.com/blog)
- [Store](http://store.statgraphics.com)

### Statgraphics

## [Centurion](https://www.statgraphics.com/centurion-overview)

#### [LEARN MORE](https://www.statgraphics.com/centurion-overview)

### Statgraphics

## [Sigma *express*](https://www.statgraphics.com/statgraphics-sigma-express)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-sigma-express)

### Statgraphics

## [*Stratus*](https://www.statgraphics.com/statgraphics-stratus)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-stratus)

### Statgraphics

## [Web Services](https://www.statgraphics.com/statgraphics-web-services)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-web-services)

## [Statistics Library](https://www.statgraphics.com/statistics-library)

#### [LEARN MORE](https://www.statgraphics.com/statistics-library)

## [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)

#### [LEARN MORE](https://www.statgraphics.com/six-sigma-lean)

## [Instructional Videos](https://www.statgraphics.com/instructional-videos)

#### [LEARN MORE](https://www.statgraphics.com/instructional-videos)

## [Applications/ Case Studies](https://www.statgraphics.com/statistical-applications)

#### [LEARN MORE](https://www.statgraphics.com/statistical-applications)

## [Statgraphics Seminars](https://www.statgraphics.com/statpoint-seminar)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-seminar)

## [Statgraphics Instructors](https://www.statgraphics.com/statpoint-instructor)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-instructor)

## [Training Partners](https://www.statgraphics.com/public-seminar)

#### [LEARN MORE](https://www.statgraphics.com/public-seminar)

## [Webinars](https://www.statgraphics.com/webinars)

#### [LEARN MORE](https://www.statgraphics.com/webinars)

#### Statbeans

- [STATBEANS® Overview](https://www.statgraphics.com/statbeans)
- [DataSource STATBEANS®](https://www.statgraphics.com/statbeans_datasource)
- [Calculation STATBEANS®](https://www.statgraphics.com/statbeans_calculations)
- [Tabular STATBEANS®](https://www.statgraphics.com/statbeans_tabular)
- [Graphical STATBEANS®](https://www.statgraphics.com/statbeans_graphical)

[Back to Product Overviews](https://www.statgraphics.com/product)

# CapabilityAnalysisPlot STATBEAN®

 

**Purpose:** Creates a process capability graph with the results of a capability analysis. Allows Statgraphics to function as CPK software.

**DataSource for the process capability graph:** CapabilityAnalysis. 

![capabilityanalysisplot](https://www.statgraphics.com/hs-fs/hubfs/capabilityanalysisplot.gif?width=450&name=capabilityanalysisplot.gif)

**Read/Write Properties**

| **Name** | **Type** | **Description** | **Possible Values** | **Default Value** |
| --- | --- | --- | --- | --- |
| by | double | Width of intervals. | Any double value > 0. | 0.1 |
| decimalPlaces | int | Number of decimal places for displaying limits. | 0+, or -1 for default. | -1 |
| fillColor | Color | Color to use for the bars. | Any valid Color. | Color.blue. |
| from | double | Lower limit for first interval. | Any double value. | 0.0 |
| includeCp | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeCpk | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeCpkLower | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeCpkUpper | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeCpm | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeCr | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| includeK | boolean | Whether to include the capability index in the margin of the plot. | true,false | true |
| resolution | int | For continuous distributions, the number of points at which the function is calculated. | 50+ | 500 |
| showLimitValues | boolean | Whether to display the values for the spefication limits. | true,false | true |
| showSpecificationLimits | boolean | Whether to plot the specification limits. | true,false | true |
| showThreeSigmaLimits | boolean | Whether to plot the 3-sigma limits. | true,false | true |
| specificationLimitsColor | Color | The color of the control limits. | Any valid Color. | Color.red |
| threeSigmaLimitsColor | Color | The color of the 3-sigma limits. | Any valid Color. | Color.blue |
| to | double | Upper limit for last interval. | Double value > from. | 1.0 |

**Added January, 2019**

| **Name** | **Type** | **Description** | **Possible Values** | **Default Value** |
| --- | --- | --- | --- | --- |
| includeMean | boolean | Whether to include the sample mean in the right margin of the graph. | true, false | true |
| includeShortterm | boolean | Whether to include shortterm capability indices as well as longterm indices in the right margin of the graph. | true,false | false |
| includeSigma | boolean | Whether to include the sample standard deviation in the right margin of the graph. | true,false | true |
| labelSpecsWithValues | boolean | Whether to include value of spec limits in top margin of the graph. | true,false | true |

Other properties for process capability graphing are inherited from the java.awt.Canvas class and from the general [GraphicalStatbean](https://www.statgraphics.com/statbeans/graphical) class.

**Code Sample** - see [CapabilityAnalysis](https://www.statgraphics.com/statbeans/calculations/capabilityanalysis).

[![contact-icon](https://www.statgraphics.com/hs-fs/hubfs/stat19web/sales.png?width=50&name=sales.png "contact-icon.fw")](https://www.statgraphics.com/contact-us-dealers-global-partners)

### [CONTACT SALES](https://www.statgraphics.com/contact-us-dealers-global-partners)

Contact our Sales team today

[![youtube-icon.fw](https://www.statgraphics.com/hubfs/stat19web/watchr.png)](https://www.statgraphics.com/instructional-videos)

### [WATCH A VIDEO](https://www.statgraphics.com/instructional-videos)

Learn more about the many enhancements added to Version 19

[![download](https://www.statgraphics.com/hubfs/stat19web/downloadr.png)](https://www.statgraphics.com/download18)

### [DOWNLOAD TRIAL](https://www.statgraphics.com/download19)

Try Statgraphics 19 today for free!

[![eye icon](https://www.statgraphics.com/hubfs/stat19web/viewr.png)](https://www.statgraphics.com/download-brochure-0)

### [VIEW BROCHURE](https://www.statgraphics.com/download-brochure-0)

Discover Statgraphics 19 with our product brochure.

![contact us](https://www.statgraphics.com/hubfs/stat19web/contactr.png)

© 2025 Statgraphics Technologies, Inc.

The Plains, Virginia

[CONTACT US](https://www.statgraphics.com/contact-us-partner)

![Statgraphics download center](https://www.statgraphics.com/hs-fs/hubfs/stat19web/downloadcr.png?width=50&name=downloadcr.png)

Have you purchased Statgraphics Centurion or Sigma Express and need to download your copy?

[CLICK HERE](https://www.statgraphics.com/download-center)

- [Support](https://www.statgraphics.com/customer-support-overview)
- [Company](https://www.statgraphics.com/contact-us-dealers-global-partners)
- [Blog](https://blog.statgraphics.com)

-  
-          

-  