|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Graph
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Representation of a graph.
| Method Summary | |
|---|---|
GraphAxisProperties |
getAxis(GraphAxis type)
Returns an object representing one of the graph's axes. |
GraphData |
getData()
Returns an object representing the data values in the graph itself. |
double |
getHeight()
Returns the height of the graph, in the current unit (as returned by Unit.getUnit()). |
Legend |
getLegend()
Returns the graph's legend. |
double |
getPadding()
Returns the padding int the current unity. |
java.awt.Color |
getPrimaryDataColor()
Returns the primary color used to represent data. |
GraphTitle |
getTitle()
Returns the graph's title. |
java.awt.Color |
getWallColor()
Returns the base color for all walls. |
double |
getWidth()
Returns the width of the graph, in the current unit (as returned by Unit.getUnit()). |
boolean |
is3D()
Is this a three-dimensional graph or not? |
boolean |
is3DLook()
If this graph is two-dimensional (when is3D() == false),
does it have a 3D look? |
boolean |
isBottomWallVisible()
For a 3D graph (see Graph.is3D()), is the bottom wall visible? |
boolean |
isLeftWallVisible()
For a 3D graph (see Graph.is3D()), is the left wall visible? |
boolean |
isRightWallVisible()
For a 3D graph (see Graph.is3D()) or a 2D graph with 3D look
(see Graph.is3DLook()), is the right wall visible? |
boolean |
isValueInPercentage()
Should the graph data be shown as a percentage? |
void |
set3DLook(boolean b)
Gives 2D graphs a 3D look. |
void |
setBottomWallVisible(boolean b)
For a 3D graph (see Graph.is3D()), shows or hides the bottom wall. |
void |
setHeight(double size)
Changes the height of the graph. |
void |
setLeftWallVisible(boolean b)
For a 3D graph (see Graph.is3D()), shows or hides the left wall. |
void |
setPadding(double padding)
Sets the padding in the current unity. |
void |
setPrimaryDataColor(java.awt.Color c)
Changes the primary color used to represent data. |
void |
setRightWallVisible(boolean b)
For a 3D graph (see Graph.is3D()) or a 2D graph with 3D look
(see Graph.is3DLook()), shows or hides the right wall. |
void |
setValueInPercentage(boolean b)
Sets if the graph data be shown as a percentage. |
void |
setWallColor(java.awt.Color c)
Changes the base color for all walls. |
void |
setWidth(double size)
Changes the width of the graph. |
| Methods inherited from interface com.businessobjects.rebean.wi.Representation |
|---|
getBlock, getType, setType |
| Methods inherited from interface com.businessobjects.rebean.wi.Decoration |
|---|
getAlignment, getAttributes, getBackgroundAlignment, getFont, setAlignment, setAttributes, setBackgroundAlignment, setFont |
| Methods inherited from interface com.businessobjects.rebean.wi.Unit |
|---|
getUnit, setUnit |
| Method Detail |
|---|
GraphTitle getTitle()
Legend getLegend()
GraphAxisProperties getAxis(GraphAxis type)
type - the graph axis to get the properties for
GraphData getData()
double getWidth()
Unit.getUnit()).
void setWidth(double size)
size - the new width (in the current unit, as returned by Unit.getUnit())
java.lang.IllegalArgumentException - when size < 0double getHeight()
Unit.getUnit()).
void setHeight(double size)
size - the new height (in the current unit, as returned by Unit.getUnit())
java.lang.IllegalArgumentException - when size < 0double getPadding()
Unit.getUnit()void setPadding(double padding)
padding - the new padding
java.lang.IllegalArgumentException - when padding < 0dGraph.getPadding()boolean is3DLook()
is3D() == false),
does it have a 3D look?
true if the graph has a 3D lookboolean is3D()
true when this graph is three-dimensionalGraphType.is3D()void set3DLook(boolean b)
b - when true, the graph will have a 3D lookboolean isValueInPercentage()
true when the graph data for a pie chart should be
given in percentagesvoid setValueInPercentage(boolean b)
b - when true, the graph data for a pie chart will be
given in percentagesboolean isLeftWallVisible()
Graph.is3D()), is the left wall visible?
true if there is a wall at the leftvoid setLeftWallVisible(boolean b)
Graph.is3D()), shows or hides the left wall.
b - when true, the left wall will be visibleboolean isRightWallVisible()
Graph.is3D()) or a 2D graph with 3D look
(see Graph.is3DLook()), is the right wall visible?
true if there is a wall at the rightvoid setRightWallVisible(boolean b)
Graph.is3D()) or a 2D graph with 3D look
(see Graph.is3DLook()), shows or hides the right wall.
b - when true, the right wall will be visibleboolean isBottomWallVisible()
Graph.is3D()), is the bottom wall visible?
true if there is a wall at the bottomvoid setBottomWallVisible(boolean b)
Graph.is3D()), shows or hides the bottom wall.
b - when true, the bottom wall will be visiblejava.awt.Color getWallColor()
void setWallColor(java.awt.Color c)
c - the new base color for all wallsjava.awt.Color getPrimaryDataColor()
null, the server's default values are used.
void setPrimaryDataColor(java.awt.Color c)
c - the new color, or null for default value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||