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, setBehind
getAxis, isInteractive, isVisible, resetInteractive, resetVisible, setAxis, setInteractive, setVisible
createAnalysisMultiStudy, createAnalysisStudy, createDistributionFormulaStudy, createTestMultiStudy, createTestStudy, getDecimals, getID, getText, getValue, isBold, isIndented, resetBold, resetDecimals, resetIndented, resetText, setBold, setDecimals, setIndented, setText, setValue
public StudyFormula(int id, FormulaDelegateListener formula)
id
- formula
- public double getCurveMax()
public double getCurveMin()
public boolean isFillArea()
resetFillArea
public void setFillArea(boolean value)
value
- resetFillArea
public FormulaDelegateListener getFormula()
public void setFormula(FormulaDelegateListener value)
value
- public boolean isSpline()
resetSpline
public void setSpline(boolean value)
value
- resetSpline
public int getSteps()
resetSteps
public void setSteps(int value)
value
- resetSteps
public double getXMax()
public double getXMin()
public void resetFillArea()
isFillArea
public void resetSpline()
isSpline
public void resetSteps()
setSteps
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.