public class SpcChart extends java.lang.Object implements IExtension, IGallery
A Statistical Process Control (SPC) or control chart provides basis for deciding whether the variation in the output is due to common causes (in control) or assignable causes (out of control). Whenever an out-of-control situation is detected, adjustments and/or other corrective action will be taken to bring the process back into control.
Constructor and Description |
---|
SpcChart() |
Modifier and Type | Method and Description |
---|---|
double |
getLcl()
Gets the value for the Lower Control Limit for an SPC chart.
|
StudyConstant |
getLclStudy()
Provides access to the LclStudy object for customization.
|
double |
getMean()
Gets or sets the Mean value for an SPC Chart.
|
StudyConstant |
getMeanStudy()
Provides access to the Mean study object for customization.
|
double |
getSigma()
Gets or sets the Sigma value for an SPC Chart.
|
double |
getUcl()
Gets the value for the Upper Control Limit for an SPC chart.
|
StudyConstant |
getUclStudy()
Provides access to the UclStudy object for customization.
|
boolean |
isShowLimits()
Gets or sets the boolean to show limits.
|
void |
resetShowLimits()
Set the property ShowLimits to its default value.
|
void |
setMean(double value)
Gets or sets the Mean value for an SPC Chart.
|
void |
setShowLimits(boolean value)
Gets or sets the boolean to show limits.
|
void |
setSigma(double value)
Gets or sets the Sigma value for an SPC Chart.
|
public double getLcl()
Gets the value for the Lower Control Limit for an SPC chart.
public StudyConstant getLclStudy()
Provides access to the LclStudy object for customization.
public double getMean()
Gets or sets the Mean value for an SPC Chart.
The Mean is calculated automatically by Chart FX when you select an SPC Gallery, or add the SPC Study Group. You can get or set the value using this method.
Once developers have found good control limits for data within their charts, they may isFreeze
or saveState
these values using the respective methods. If you save the state, you can loadState
it for later use.
You may read the Upper and Lower Control Limits using the setUcl
and setLcl
methods. The setSigma
value is also available using the repective method. setSigma
is automatically calculated when you pass data to an SPC Chart, however, using the Sigma API method, you can configure a desired value. However, if you would like Chart FX to calcualte Sigma again, you can set the value equal to double.NaN.
To read the Mean value:
public void setMean(double value)
Gets or sets the Mean value for an SPC Chart.
The Mean is calculated automatically by Chart FX when you select an SPC Gallery, or add the SPC Study Group. You can get or set the value using this method.
Once developers have found good control limits for data within their charts, they may isFreeze
or saveState
these values using the respective methods. If you save the state, you can loadState
it for later use.
You may read the Upper and Lower Control Limits using the setUcl
and setLcl
methods. The setSigma
value is also available using the repective method. setSigma
is automatically calculated when you pass data to an SPC Chart, however, using the Sigma API method, you can configure a desired value. However, if you would like Chart FX to calcualte Sigma again, you can set the value equal to double.NaN.
To read the Mean value:
value
- public StudyConstant getMeanStudy()
Provides access to the Mean study object for customization.
public boolean isShowLimits()
Gets or sets the boolean to show limits.
An SPC Gallery type must be selected or an SPC study must be added in order to reference the related SPC methods.
resetShowLimits
public void setShowLimits(boolean value)
Gets or sets the boolean to show limits.
An SPC Gallery type must be selected or an SPC study must be added in order to reference the related SPC methods.
value
- resetShowLimits
public double getSigma()
Gets or sets the Sigma value for an SPC Chart.
The Sigma is calculated automatically by Chart FX when you select an SPC Gallery, or add the SPC Study Group. You can get or set the value using this method.
Once developers have found good control limits for data within their charts, they may isFreeze
or saveState
these values using the respective methods. If you save the state, you can loadState
it for later use.
You may read the Upper and Lower Control Limits using the setUcl
and setLcl
methods. The setMean
value is also available using the repective method. setMean
is automatically calculated when you pass data to an SPC Chart, however, using the Mean API method, you can configure a desired value. However, if you would like Chart FX to calcualte the Mean again, you can set the value equal to double.NaN.
To read the value for Sigma:
public void setSigma(double value)
Gets or sets the Sigma value for an SPC Chart.
The Sigma is calculated automatically by Chart FX when you select an SPC Gallery, or add the SPC Study Group. You can get or set the value using this method.
Once developers have found good control limits for data within their charts, they may isFreeze
or saveState
these values using the respective methods. If you save the state, you can loadState
it for later use.
You may read the Upper and Lower Control Limits using the setUcl
and setLcl
methods. The setMean
value is also available using the repective method. setMean
is automatically calculated when you pass data to an SPC Chart, however, using the Mean API method, you can configure a desired value. However, if you would like Chart FX to calcualte the Mean again, you can set the value equal to double.NaN.
To read the value for Sigma:
value
- public double getUcl()
Gets the value for the Upper Control Limit for an SPC chart.
public StudyConstant getUclStudy()
Provides access to the UclStudy object for customization.
public void resetShowLimits()
isShowLimits
2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.