Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_MAX_AUTO_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_MAX_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_MIN_AUTO_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_MIN_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_ZOOM_MAX_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
AXIS_ZOOM_MIN_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LOG_BASE_KEY |
protected double |
m_axisLogBase |
protected boolean |
m_axisMaxAutoScaled |
protected boolean |
m_axisMinAutoScaled |
protected boolean |
m_axisScaledLogarithmic |
protected boolean |
m_axisTickAuto |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MAJOR_INCREMENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MAJOR_TICK_STEP_AUTO_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MAJOR_TICK_STEP_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MINOR_INCREMENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALED_LOG_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
LINE_COLOR_KEY, LINE_WIDTH_KEY, m_axisLineColor, m_axisLineWidth, m_rendered, RENDERED_KEY, SCROLLING_KEY, SCROLLING_KEY_NAME
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
BaseDataAxis() |
Modifier and Type | Method and Description |
---|---|
void |
applyProperties(java.util.HashMap map)
Applications should not call this method.
|
double |
getAxisMaxValue()
Retrieves the high value for the range of this axis, when the high value
is not set automatically.
|
double |
getAxisMinValue()
Retrieves the low value for the range of this axis, when the low value is
not set automatically.
|
double |
getAxisZoomMaxValue()
Retrieves the high value for the range that the axis can zoom to, when
the high value is not set automatically.
|
double |
getAxisZoomMinValue()
Retrieves the low value for the range that the axis can zoom to, when
the low value is not set automatically.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
double |
getLogarithmicBase()
Retrieves a logarithmic or linear scale for this data axis.
|
double |
getMajorIncrement()
Retrieves the increment between major tick marks.
|
double |
getMajorTickStep()
Deprecated.
Use majorIncrement APIs
|
double |
getMinorIncrement()
Retrieves the increment between minor tick marks.
|
NumberFormat |
getNumberFormat()
Deprecated.
Use getConverter in the associated tick label
Gets the number format
|
boolean |
isAxisMaxAutoScaled()
Indicates whether the graph automatically sets the high value for this axis.
|
boolean |
isAxisMinAutoScaled()
Indicates whether the graph automatically sets the minimum value for this
axis.
|
boolean |
isMajorTickStepAutomatic()
Deprecated.
Use majorIncrement APIs
|
boolean |
isScaledLogarithmic()
Indicates whether this data axis is scaled logarithmically.
|
protected void |
resetStyleProperties() |
void |
setAxisMaxAutoScaled(boolean auto)
Specifies whether the graph automatically sets the high value for this axis.
|
void |
setAxisMaxValue(double value)
Specifies the high value for the range of this axis, when the high value
is not set automatically.
|
void |
setAxisMinAutoScaled(boolean auto)
Specifies whether the graph automatically sets the the minimum value for
this axis.
|
void |
setAxisMinValue(double value)
Specifies the low value for the range of this axis, when the low value is
not set automatically.
|
void |
setAxisZoomMaxValue(double value)
Specifies the high value for the range that the axis can zoom to, when
the high value is not set automatically.
|
void |
setAxisZoomMinValue(double value)
Specifies the low value for the range that the axis can zoom to, when
the low value is not set automatically.
|
void |
setLogarithmicBase(double value)
Selects a logarithmic or linear scale for this data axis.
|
void |
setMajorIncrement(double value)
Specifies the increment between major tick marks.
|
void |
setMajorTickStep(double value)
Deprecated.
Use majorIncrement APIs
|
void |
setMajorTickStepAutomatic(boolean auto)
Deprecated.
Use majorIncrement APIs
|
void |
setMinorIncrement(double value)
Specifies the increment between minor tick marks.
|
void |
setNumberFormat(NumberFormat format)
Deprecated.
Use setConverter in the associated tick label
Sets the number format
|
void |
setScaledLogarithmic(boolean logScale)
Specifies whether this data axis is scaled logarithmically.
|
getLineColor, getLineWidth, getScrolling, isRendered, setLineColor, setLineWidth, setRendered, setScrolling
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
protected boolean m_axisMinAutoScaled
protected boolean m_axisMaxAutoScaled
protected boolean m_axisTickAuto
protected double m_axisLogBase
protected boolean m_axisScaledLogarithmic
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey MAJOR_TICK_STEP_AUTO_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MAJOR_TICK_STEP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MAJOR_INCREMENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MINOR_INCREMENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MAX_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MAX_AUTO_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_ZOOM_MAX_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MIN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MIN_AUTO_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AXIS_ZOOM_MIN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LOG_BASE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALED_LOG_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_KEY
@Deprecated public boolean isMajorTickStepAutomatic()
true
if the number is calculated automatically,
false
if it is set in the setMajorTickStep
method.setMajorTickStep(double)
@Deprecated public void setMajorTickStepAutomatic(boolean auto)
auto
- true
to make the graph calculate it
automatically, false
to make the graph use the value that
is set in the setMajorTickStep
method.setMajorTickStep(double)
@Deprecated public double getMajorTickStep()
MajorTickStep
to 10, then the
tick marks appear at 0, 10, 20, 30, and so on.
(This assumes that AxisAutoScaledFromZero
and
AxisMinAutoScaled
are both set to true
.)
To make the graph use the value that this method returns, set the
setMajorTickStepAutomatic
method to false
.
setMajorTickStepAutomatic(boolean)
@Deprecated public void setMajorTickStep(double value)
MajorTickStep
to 10, then the
tick marks appear at 0, 10, 20, 30, and so on.
(This assumes that AxisAutoScaledFromZero
and
AxisMinAutoScaled
are both set to true
.)
To make the graph use the value that is set in this method, set the
setMajorTickStepAutomatic
method to false
.
value
- The interval (or step) at which to display tick marks
on this data axis.setMajorTickStepAutomatic(boolean)
public double getMajorIncrement()
MajorTickStep
to 10, then the
tick marks appear at 0, 10, 20, 30, and so on.public void setMajorIncrement(double value)
MajorTickStep
to 10, then the
tick marks appear at 0, 10, 20, 30, and so on. Setting this attribute will apply majorTickStepAutomatic to false.the
- increment between major tick marks.public double getMinorIncrement()
MinorIncrement
to 5 and MajorTickStep
to 10, then the
tick marks appear at 0, 5, 15, 25, and so on.public void setMinorIncrement(double value)
MinorIncrement
to 5 and MajorTickStep
to 10, then the
tick marks appear at 0, 5, 15, 25, and so on.value
- the increment between minor tick marks.public double getAxisMaxValue()
setAxisMaxAutoScaled
method to false
.public void setAxisMaxValue(double value)
setAxisMaxAutoScaled
method to false
.value
- The high value for the range of this axis, when the high
value is not set automatically.public boolean isAxisMaxAutoScaled()
false
, the graph uses the value that
is set in the setAxisMaxValue
method.true
if the high value is automatically set,
false
if the graph uses the value that is set in the
setAxisMaxValue
method.public void setAxisMaxAutoScaled(boolean auto)
false
, the graph uses the value
that is set in the setAxisMaxValue
method.auto
- true
to make the graph set the high value
automatically, false
to make the graph use
the value that is set in the setAxisMaxValue
method.public double getAxisZoomMaxValue()
setAxisMaxAutoScaled
method to false
.public void setAxisZoomMaxValue(double value)
setAxisMaxAutoScaled
method to false
.value
- The high value for the range of this zoom axis, when the high
value is not set automatically.public double getAxisMinValue()
setAxisMinAutoScaled
method to false
.public void setAxisMinValue(double value)
setAxisMinAutoScaled
method
to false
.value
- The low value for the range of this axis, when the low value
is not set automatically.public boolean isAxisMinAutoScaled()
false
, the graph uses the
value that is set in the setAxisMinValue
method.true
if the minimum value is set automatically,
false
if the graph uses the value that is set in
the setAxisMinValue
method.public void setAxisMinAutoScaled(boolean auto)
false
, the graph uses
the value that is set in the setAxisMinValue
method.public double getAxisZoomMinValue()
setAxisMinAutoScaled
method to false
.public void setAxisZoomMinValue(double value)
setAxisMinAutoScaled
method to false
.value
- The low value for the range of this zoom axis, when the low
value is not set automatically.public double getLogarithmicBase()
public void setLogarithmicBase(double value)
value
- A logarithmic or linear scale for this data axis.public boolean isScaledLogarithmic()
true
if it is scaled logarithmically,
false
if it is not.public void setScaledLogarithmic(boolean logScale)
logScale
- true
to scale it logarithmically,
false
to prohibit logarithmic scaling.public void applyProperties(java.util.HashMap map)
applyProperties
in class BIComplexAttributeBase
map
- protected void resetStyleProperties()
resetStyleProperties
in class BaseAxis
@Deprecated public NumberFormat getNumberFormat()
@Deprecated public void setNumberFormat(NumberFormat format)
format
- the number formatprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BaseAxis