|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
oracle.dss.graph.BaseGraphComponent | +--oracle.dss.graph.BaseDataAxis
The base class for data axes of the graph. A data axis is an axis for numeric data.
| Method Summary | |
int |
getAxisLocation()Retrieves the location of this data axis in the graph. |
abstract double |
getAxisMaxAutoValue()Retrieves the high value of the automatic range for this data axis. |
abstract double |
getAxisMaxValue()Retrieves the high value for the range of this data axis, when the high value is not set automatically. |
abstract double |
getAxisMinAutoValue()Retrieves the low value for the automatic range of this data axis. |
abstract double |
getAxisMinValue()Retrieves the low value for the range of this data axis, when the low value is not set automatically. |
DataEndPoints |
getDataEndPoints()Retrieves the DataEndPoints object that identifies the maximum and minimum values of the data that is displayed for this axis. |
java.awt.Color |
getLineColor()Retrieves the color of this data axis. |
int |
getLineWidth()Retrieves the width of this data axis in pixels. |
double |
getLogarithmicBase()Retrieves a logarithmic or linear scale for this data axis. |
double |
getMajorTickStep()Retrieves the number of tick marks that the graph hides between tick marks that are displayed on this data axis. |
double |
getMinAutoMajorTickStep()Retrieves the minimum tick step that can be set automically for the major tick mark of this axis. |
ViewFormat |
getViewFormat()Retrieves a ViewFormat object for this data axis. |
boolean |
isAscending()Indicates whether the axis is drawn in ascending or descending order. |
abstract boolean |
isAxisAutoScaledFromZero()Indicates whether the automatic range on this data axis begins with zero. |
abstract boolean |
isAxisMaxAutoScaled()Indicates whether the graph automatically sets the high value for this data axis. |
boolean |
isAxisMaxLabelVisible()Indicates whether the maximum label appears on this axis. |
abstract boolean |
isAxisMinAutoScaled()Indicates whether the graph automatically sets the minimum value for this data axis. |
boolean |
isAxisMinLabelVisible()Indicates whether the minimum label appears on this axis. |
boolean |
isMajorTickStepAutomatic()Indicates whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically. |
boolean |
isScaledLogarithmic()Indicates whether this data axis is scaled logarithmically. |
boolean |
isVisible()Indicates whether this data axis is visible. |
boolean |
selectObject(int series, int group)Selects this data axis in the graph. |
void |
setAscending(boolean yesNo)Specifies whether the axis will be drawn in ascending or descending order. |
abstract void |
setAxisAutoScaledFromZero(boolean yesNo)Specifies whether the automatic range on this data axis begins with zero. |
void |
setAxisLocation(int location)Specifies the location of this data axis in the graph. |
abstract void |
setAxisMaxAutoScaled(boolean yesNo)Specifies whether the graph automatically sets the high value for this data axis. |
void |
setAxisMaxLabelVisible(boolean visible)Specifies whether the maximum label appears on this axis. |
abstract void |
setAxisMaxValue(double value)Specifies the high value for the range of this data axis, when the high value is not set automatically. |
abstract void |
setAxisMinAutoScaled(boolean yesNo)Specifies whether the graph automatically sets the the minimum value for this data axis. |
void |
setAxisMinLabelVisible(boolean visible)Specifies whether the minimum label appears on this axis. |
abstract void |
setAxisMinValue(double value)Specifies the low value for the range of this data axis, when the low value is not set automatically. |
void |
setLineColor(java.awt.Color newColor)Specifies the color of this data axis. |
void |
setLineWidth(int width)Specifies the width of this data axis in pixels. |
void |
setLogarithmicBase(double value)Selects a logarithmic or linear scale for this data axis. |
void |
setMajorTickStep(double value)Specifies the number of tick marks that the graph hides between tick marks that are displayed on this data axis. |
void |
setMajorTickStepAutomatic(boolean yesNo)Specifies whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically. |
void |
setMinAutoMajorTickStep(double value)Specifies the minimum value for the major tickstep. |
void |
setScaledLogarithmic(boolean yesNo)Specifies whether this data axis is scaled logarithmically. |
void |
setViewFormat(ViewFormat viewFormat)Specifies a ViewFormat object for this data axis. |
void |
setVisible(boolean visible)Specifies whether this data axis is visible. |
| Method Detail |
public boolean selectObject(int series,
int group)
selectObject in class BaseGraphComponentseries - Any integer.group - Any integer.true if successful, false if not.public void setAscending(boolean yesNo)
yesNo - true to draw it in ascending order, false to draw it in descending order.public boolean isAscending()
true if it is drawn in ascending order, false if it is drawn in descending order.public abstract boolean isAxisAutoScaledFromZero()
true if it begins with zero, false if it begins with the lowest data value on the axis.public abstract void setAxisAutoScaledFromZero(boolean yesNo)
yesNo - true to make it begin with zero, false to make it begin with the lowest data value on the axis.public abstract 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.setAxisMaxValue(double)public abstract void setAxisMaxAutoScaled(boolean yesNo)
AxisMaxAutoScaled property is false, then the graph uses the value of the setAxisMaxValue property. When the AxisMaxAutoScaled property is true, then the graph calculates the maximum value and sets it as the value of both the AxisMaxValue property and the AxisMaxAutoValue property.yesNo - true to make the graph set the high value automatically, false to make the graph use the value that is set in the setAxisMaxValuemethod.setAxisMaxValue(double)public abstract 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.setAxisMinValue(double)public abstract void setAxisMinAutoScaled(boolean yesNo)
AxisMinAutoScaled property is false, the graph uses the value of the AxisMinValue property. When the AxisMinAutoScaled property is true, then the graph calculates the minimum value and sets it as the value of both the AxisMinValue property and the AxisMinAutoValue property.true - to make the graph set the minimum value automatically, false to make the graph use the value that is set in the setAxisMinValue method.setAxisMinValue(double)public abstract double getAxisMaxAutoValue()
public abstract double getAxisMaxValue()
setAxisMaxAutoScaled method to false.setAxisMaxAutoScaled(boolean)public abstract void setAxisMaxValue(double value)
setAxisMaxAutoScaled method to false.value - The high value for the range of this data axis, when the high value is not set automatically.setAxisMaxAutoScaled(boolean)public abstract double getAxisMinAutoValue()
public abstract double getAxisMinValue()
setAxisMinAutoScaled method to false.setAxisMinAutoScaled(boolean)public abstract void setAxisMinValue(double value)
setAxisMinAutoScaled method to false.value - The low value for the range of this data axis, when the low value is not set automatically.setAxisMinAutoScaled(boolean)public int getAxisLocation()
BaseGraphComponent and begin with AL_.BaseGraphComponent.AL_LEFT, BaseGraphComponent.AL_RIGHT, BaseGraphComponent.AL_BOTHpublic void setAxisLocation(int location)
BaseGrpahComponent and begin with AL_.location - A constant that represents the location of this data axis in the graph. If you enter an invalid parameter value, then the graph logs an ErrorHandler message, and will not change the AxisLocation attribute.BaseGraphComponent.AL_LEFT, BaseGraphComponent.AL_RIGHT, BaseGraphComponent.AL_BOTHpublic boolean isAxisMinLabelVisible()
true if the minimum label appears on this axis, false if it does not.public void setAxisMinLabelVisible(boolean visible)
visible - true to display the minimum label, false to hide it.public boolean isAxisMaxLabelVisible()
true if the maximum label appears on this axis, false if it does not.public void setAxisMaxLabelVisible(boolean visible)
visible - true to display the maximum label, false to hide it.public java.awt.Color getLineColor()
public void setLineColor(java.awt.Color newColor)
newColor - The color of this data axis.public int getLineWidth()
public void setLineWidth(int width)
width - The width of this data axis in pixels.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)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 getMinAutoMajorTickStep()
public void setMinAutoMajorTickStep(double value)
MajorTickStepAutomatic = true), then the automatically calculated tick step value will be greater than or equal to the specified value.
If the specified value is greater than the difference between minimum value and the maximum value for the axis, then this method ignores the MinAutoMajorTickStep value. The default value is 0.
value - The minimum value for the major tickstep.setMajorTickStepAutomatic(boolean)public boolean isMajorTickStepAutomatic()
true if the number is calculated automatically, false if it is set in the setMajorTickStep method.setMajorTickStep(double)public void setMajorTickStepAutomatic(boolean yesNo)
yesNo - 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)public ViewFormat getViewFormat()
ViewFormat object for this data axis. The ViewFormat objects allow you to format numbers.getViewFormat in interface FormattableViewFormat object for this data axis.public void setViewFormat(ViewFormat viewFormat)
ViewFormat object for this data axis. The ViewFormat objects allow you to format numbers.setViewFormat in interface FormattableA - ViewFormat object for this data axis.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 yesNo)
yesNo - true to scale it logarithmically, false to prohibit logarithmic scaling.public boolean isVisible()
isVisible in interface Visibletrue if it is visible, false if it is invisible.public void setVisible(boolean visible)
setVisible in interface Visiblevisible - true to make it visible, false to make it invisible.public DataEndPoints getDataEndPoints()
DataEndPoints object that identifies the maximum and minimum values of the data that is displayed for this axis.DataEndPoints that has the maximum and minimum data values for the axis.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||