public class StudyFormula extends StudyLine
Developers can create custom formulas with associated function delegates to handle processing when a formula is used.
| Constructor and Description |
|---|
StudyFormula(int id,
FormulaDelegateListener formula)
Provides access to the StudyFormula object.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCurveMax()
Gets the value indicating curve max.
|
double |
getCurveMin()
Gets the value indicating curve min.
|
FormulaDelegateListener |
getFormula()
Gets or sets the delegate associated with this formula.
|
int |
getSteps()
Gets or sets the number of steps in the distribution
|
double |
getXMax()
Gets the Max X value for the distribution.
|
double |
getXMin()
Gets the Min X value for the distribution.
|
boolean |
isFillArea()
Gets or sets the boolean indicating whether the area under the curve is filled.
|
boolean |
isSpline()
Gets or sets the boolean indicating showing the Spline.
|
void |
resetFillArea()
Set the property FillArea to its default value.
|
void |
resetSpline()
Set the property Spline to its default value.
|
void |
resetSteps()
Set the property Steps to its default value.
|
void |
setFillArea(boolean value)
Gets or sets the boolean indicating whether the area under the curve is filled.
|
void |
setFormula(FormulaDelegateListener value)
Gets or sets the delegate associated with this formula.
|
void |
setSpline(boolean value)
Gets or sets the boolean indicating showing the Spline.
|
void |
setSteps(int value)
Gets or sets the number of steps in the distribution
|
getColor, getLine, getValue, isBehind, resetBehind, setBehindgetAxis, isInteractive, isVisible, resetInteractive, resetVisible, setAxis, setInteractive, setVisiblecreateAnalysisMultiStudy, createAnalysisStudy, createDistributionFormulaStudy, createTestMultiStudy, createTestStudy, getDecimals, getID, getText, getValue, isBold, isIndented, resetBold, resetDecimals, resetIndented, resetText, setBold, setDecimals, setIndented, setText, setValuepublic StudyFormula(int id,
FormulaDelegateListener formula)
id - formula - public double getCurveMax()
public double getCurveMin()
public boolean isFillArea()
resetFillAreapublic void setFillArea(boolean value)
value - resetFillAreapublic FormulaDelegateListener getFormula()
public void setFormula(FormulaDelegateListener value)
value - public boolean isSpline()
resetSplinepublic void setSpline(boolean value)
value - resetSplinepublic int getSteps()
resetStepspublic void setSteps(int value)
value - resetStepspublic double getXMax()
public double getXMin()
public void resetFillArea()
isFillAreapublic void resetSpline()
isSplinepublic void resetSteps()
setSteps2014 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.