public final class StudyCustom extends StudyInteractive
Provides access to the StudyCustom object
This class is specifically used to control attributes of custom studies the developer has added to the extension. The AddTitle method of the Studies collection returns this type of object.
Constructor and Description |
---|
StudyCustom(int id,
java.lang.String text)
Provides access to the StudyCustom object
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Gets or sets the color for a selected StudyCustom object.
|
void |
resetColor()
Set the property Color to its default value.
|
void |
setColor(java.awt.Color value)
Gets or sets the color for a selected StudyCustom object.
|
getAxis, isInteractive, isVisible, resetInteractive, resetVisible, setAxis, setInteractive, setVisible
createAnalysisMultiStudy, createAnalysisStudy, createDistributionFormulaStudy, createTestMultiStudy, createTestStudy, getDecimals, getID, getText, getValue, getValue, isBold, isIndented, resetBold, resetDecimals, resetIndented, resetText, setBold, setDecimals, setIndented, setText, setValue
public StudyCustom(int id, java.lang.String text)
Provides access to the StudyCustom object
id
- text
- public java.awt.Color getColor()
Gets or sets the color for a selected StudyCustom object.
setStudies
method of the Statistics
class exposes the members of the StudiesCollection
class. Using the addTitle
method, you can add a CustomStudy to the LegendBox. To obtain a StudyCustom object, the following code could be implemented:isInteractive
(true), the checkbox for the study will display the color configured using this method when selected.setValue
method allows you to configure a string as the result for the StudyCustom object.isIndented
method allows you to control if the selected study's title will be indented or not.To configure the Color for a StudyCustom object to red:
getColor
in interface IStudy
getColor
in class Study
resetColor
public void setColor(java.awt.Color value)
Gets or sets the color for a selected StudyCustom object.
setStudies
method of the Statistics
class exposes the members of the StudiesCollection
class. Using the addTitle
method, you can add a CustomStudy to the LegendBox. To obtain a StudyCustom object, the following code could be implemented:isInteractive
(true), the checkbox for the study will display the color configured using this method when selected.setValue
method allows you to configure a string as the result for the StudyCustom object.isIndented
method allows you to control if the selected study's title will be indented or not.To configure the Color for a StudyCustom object to red:
value
- resetColor
public void resetColor()
setColor
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.