public class AxisSectionValue
extends java.lang.Object
Provides access to the AxisSectionValue object.
This Class is used to set or get the AxisSection range values (setFrom
and setTo
).
The developer can assign specific AxisSectionValues when setting the AxisSection range. It can combine a statistical calculated value as the beginning and/or the ending value of an AxisSection.
Constructor and Description |
---|
AxisSectionValue()
Constructs a newly allocated AxisSectionValue object
|
AxisSectionValue(AxisSectionCalculation value)
Constructs a newly allocated AxisSectionValue object
|
AxisSectionValue(double value)
Constructs a newly allocated AxisSectionValue object
|
Modifier and Type | Method and Description |
---|---|
AxisSectionCalculation |
getCalculation()
Gets or sets a AxisSectionCalculation operator to be used in a AxisSection range
|
double |
getValue()
Gets or sets a DataUnit value when creating the AxisSectionValue range
|
void |
resetCalculation()
Set the property Calculation to its default value.
|
void |
resetValue()
Set the property Value to its default value.
|
void |
setCalculation(AxisSectionCalculation value)
Gets or sets a AxisSectionCalculation operator to be used in a AxisSection range
|
void |
setValue(double value)
Gets or sets a DataUnit value when creating the AxisSectionValue range
|
public AxisSectionValue()
public AxisSectionValue(AxisSectionCalculation value)
value
- public AxisSectionValue(double value)
value
- public AxisSectionCalculation getCalculation()
Gets or sets a AxisSectionCalculation operator to be used in a AxisSection range
The calculation is useful when setting the AxsiSection From or to methods based on a preset calculation.
To set the AxisSectionCalculation to uise a StandardDeviation:
int calculation; calculation = new AxisSectionCalculation(); calculation = AxisSectionCalculation.StandardDeviation1;
resetCalculation
public void setCalculation(AxisSectionCalculation value)
Gets or sets a AxisSectionCalculation operator to be used in a AxisSection range
The calculation is useful when setting the AxsiSection From or to methods based on a preset calculation.
To set the AxisSectionCalculation to uise a StandardDeviation:
int calculation; calculation = new AxisSectionCalculation(); calculation = AxisSectionCalculation.StandardDeviation1;
value
- resetCalculation
public double getValue()
Gets or sets a DataUnit value when creating the AxisSectionValue range
The AxisSection
range values can be set to a DataUnit value when the setCalculation
method is set to none.
When the programmer is setting the AxisSectionValue
setCalculation
attribute using a statistical calculation, this value does not need to be set and will be auto calculated.
To create an AxisSectionValue
using Statistical values:
int calculationFrom; calculationFrom = new AxisSectionCalculation(); int calculationTo; calculationTo = new AxisSectionCalculation(); calculationFrom = AxisSectionCalculation.Quartile; calculationTo = AxisSectionCalculation.StandardDeviation1; AxisSection section; section = new AxisSection(AxisSectionCalculation.op_Implicit(calculationFrom), AxisSectionCalculation.op_Implicit(calculationTo), new java.awt.Color(0,0,255,255)); chart1.getAxisY().getSections().add(section);
resetValue
public void setValue(double value)
Gets or sets a DataUnit value when creating the AxisSectionValue range
The AxisSection
range values can be set to a DataUnit value when the setCalculation
method is set to none.
When the programmer is setting the AxisSectionValue
setCalculation
attribute using a statistical calculation, this value does not need to be set and will be auto calculated.
To create an AxisSectionValue
using Statistical values:
int calculationFrom; calculationFrom = new AxisSectionCalculation(); int calculationTo; calculationTo = new AxisSectionCalculation(); calculationFrom = AxisSectionCalculation.Quartile; calculationTo = AxisSectionCalculation.StandardDeviation1; AxisSection section; section = new AxisSection(AxisSectionCalculation.op_Implicit(calculationFrom), AxisSectionCalculation.op_Implicit(calculationTo), new java.awt.Color(0,0,255,255)); chart1.getAxisY().getSections().add(section);
value
- resetValue
public void resetCalculation()
setCalculation
public void resetValue()
setValue
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.