Chart FX for Java 6.5

SoftwareFX.ChartFX.Statistical
Class StudyDistribution

java.lang.Object
  extended by SoftwareFX.ChartFX.Statistical.Study
      extended by SoftwareFX.ChartFX.Statistical.StudyInteractive
          extended by SoftwareFX.ChartFX.Statistical.StudyLine
              extended by SoftwareFX.ChartFX.Statistical.StudyFormula
                  extended by SoftwareFX.ChartFX.Statistical.StudyDistribution

public final class StudyDistribution
extends StudyFormula

Provides access to the StudyDistribution object.

This class is specifically used to control attributes of studies that represent distributions. The supported members allow developers to configure how the study analyzes the data.

The class constructor allows the developer to specify a Distribution Formula.


Constructor Summary
StudyDistribution(int distribution)
           
 
Method Summary
 double evaluateDistribution(double x)
          Returns the calculated distribution value based on the parameter.
 double[] getCustomParams()
          Gets the CustomParams.
 double getFrom()
          Gets the From.
 double getTo()
          Gets the To.
 void setCustomParams(double[] value)
          Get or set a custom array of parameters.
 void setFrom(double value)
          Get or set the value where the distribution study begins.
 void setTo(double value)
          Gets or sets the value where the distribution study ends.
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.StudyFormula
addFormulaListener, getCurveMax, getCurveMin, getFormulaListeners, getSteps, getXMax, getXMin, isFillArea, isSpline, removeFormulaListener, setFillArea, setSpline, setSteps
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.StudyLine
getLine, isBehind, setBehind
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.StudyInteractive
getAxis, isInteractive, isVisible, setAxis, setInteractive, setVisible
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.Study
createStudyAnalysis, createStudyAnalysisMulti, createStudyDistributionFormula, createStudyTest, createStudyTestMulti, getDecimals, getID, getText, getValue, isBold, isIndented, setBold, setDecimals, setIndented, setText, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StudyDistribution

public StudyDistribution(int distribution)
Method Detail

evaluateDistribution

public double evaluateDistribution(double x)

Returns the calculated distribution value based on the parameter.

Parameters:
x - Modifies the distribution calculation.

getCustomParams

public double[] getCustomParams()

Gets the CustomParams. For more detail see setCustomParams(double[]).


getFrom

public double getFrom()

Gets the From. For more detail see setFrom(double).


getTo

public double getTo()

Gets the To. For more detail see setTo(double).


setCustomParams

public void setCustomParams(double[] value)

Get or set a custom array of parameters.


setFrom

public void setFrom(double value)

Get or set the value where the distribution study begins.

Remarks:
  • This value does not have to be less than the associated setTo(double) value.


  • setTo

    public void setTo(double value)

    Gets or sets the value where the distribution study ends.

    Remarks:
  • This value does not have to be greater than the setFrom(double) value.


  • http://www.softwarefx.com

    2007 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.