|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.graph.Graph
org.faceless.graph.AxesGraph
public abstract class AxesGraph
An Axes Graph covers every Graph that is plotted against an Axes.
Currently this is everything but the PieGraph
.
Field Summary |
---|
Fields inherited from class org.faceless.graph.Graph |
---|
KEY_BOXED_BOTTOM, KEY_BOXED_LEFT, KEY_BOXED_RIGHT, KEY_BOXED_TOP, KEY_NONE |
Method Summary | |
---|---|
void |
optionAxisStyle(Style val)
What style to draw the principal axes for the graph in. |
void |
optionBoxColor(Color val)
What color, if any, to draw the box around the content of the graph (excluding the values on the axes). |
void |
optionFloorStyle(Style val)
What style, if any, to draw the grid on the floor of the graph (either where y=0 or y=min(y) - see optionXAxisAtZero ). |
void |
optionMaxY(double val)
The maximum value to plot on the Y axis. |
void |
optionMinY(double val)
The minimum value to plot on the Y axis. |
void |
optionXAxisAtZero(boolean val)
If the Y-axis values go from -ve to +ve, whether to draw the X-Axis where y=0 or where y=min(y) Default: false except for the subclass LineGraph , which is true |
void |
optionXAxisLabel(String val)
The label to give the X-Axis Default: <none> |
void |
optionXAxisLabelStyle(Style val)
Set the style to write the label for the X-Axis Default: Black 12pt Helvetica |
void |
optionXAxisStyle(Style val)
What Style to write the values on the X-Axis Default: Black 8pt Helvetica |
void |
optionXAxisTextRotation(double val)
Whether to rotate the values on the Y-Axis. |
void |
optionXFormatter(Formatter val)
Which {link org.faceless.graph.formatter.Formatter} to use to format the values on the X axis. |
void |
optionXStretchToZero(boolean val)
Whether to always stretch the X axis to include zero. |
void |
optionYAxisAtZero(boolean val)
If the X-axis values go from -ve to +ve, whether to draw the Y-Axis where x=0 or where x=min(x) Default: false except for the subclass LineGraph , which is true |
void |
optionYAxisLabel(String val)
The label to give the Y-Axis Default: <none> |
void |
optionYAxisLabelStyle(Style val)
Set the style to write the label for the Y-Axis Default: Black 12pt Helvetica |
void |
optionYAxisStyle(Style val)
What Style to write the values on the Y-Axis Default: Black 8pt Helvetica |
void |
optionYAxisTextRotation(double val)
Whether to rotate the values on the X-Axis. |
void |
optionYFormatter(Formatter val)
Which {link org.faceless.graph.formatter.Formatter} to use to format the values on the Y axis. |
void |
optionYStretchToZero(boolean val)
Whether to always stretch the Y axis to include zero. |
void |
optionYWallStyle(Style val)
What style, if any, to draw the grid on the Y-Wall of the graph (either where x=0 or x=min(x) - see optionYAxisAtZero ). |
void |
optionZAxisStyle(Style val)
What Style to write the values on the Z-Axis Default: Black 8pt Helvetica |
void |
optionZFormatter(Formatter val)
Which {link org.faceless.graph.formatter.Formatter} to use to format the values on the Z axis. |
void |
optionZWallStyle(Style val)
What style, if any, to draw the grid on the back or Z-Wall of the graph. |
Methods inherited from class org.faceless.graph.Graph |
---|
getDefaultBorderColor, getFontScale, optionDisplayKey, optionFixedAspectRatio, optionKeyBoxStyle, optionKeyStyle, optionSubTitle, optionSubTitleStyle, optionTitle, optionTitleStyle, optionXRotation, optionYRotation, optionZRotation, setDefaultBorderColor, setDefaultColors, setDefaultLineThickness, setFontScale, setLicenseKey, setLightLevel, setLightVector, setPieEdgeDegrees, toCanvas |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void optionXAxisLabel(String val)
Default: <none>
public void optionYAxisLabel(String val)
Default: <none>
public void optionXAxisLabelStyle(Style val)
Default: Black 12pt Helvetica
public void optionYAxisLabelStyle(Style val)
Default: Black 12pt Helvetica
public void optionXAxisAtZero(boolean val)
Default: false except for the subclass LineGraph
, which is true
public void optionYAxisAtZero(boolean val)
Default: false except for the subclass LineGraph
, which is true
public void optionXStretchToZero(boolean val)
AbstractBarGraph
) may not allow you to set this value.
Default: usually false, but depends on subclass
public void optionYStretchToZero(boolean val)
AbstractBarGraph
) may not allow you to set this value.
Default: usually false, but depends on subclass
public void optionFloorStyle(Style val)
optionXAxisAtZero
). You
can set the color and border color, or just set the border color for a grid
on an otherwise transparent wall.
Default: null
public void optionYWallStyle(Style val)
optionYAxisAtZero
). You
can set the color and border color, or just set the border color for a grid
on an otherwise transparent wall.
Default: null
public void optionZWallStyle(Style val)
Default: null
public void optionXAxisStyle(Style val)
Default: Black 8pt Helvetica
public void optionYAxisStyle(Style val)
Default: Black 8pt Helvetica
public void optionZAxisStyle(Style val)
Default: Black 8pt Helvetica
public void optionYAxisTextRotation(double val)
optionXAxisStyle
Default: 0
public void optionXAxisTextRotation(double val)
optionYAxisStyle
Default: 0
public void optionXFormatter(Formatter val)
new
NullFormatter
Default: data and class dependent
public void optionYFormatter(Formatter val)
new
NullFormatter
Default: data and class dependent
public void optionZFormatter(Formatter val)
new
NullFormatter
Default: data and class dependent
public void optionAxisStyle(Style val)
Default: Style.getDefaultBorderColor()
public void optionBoxColor(Color val)
Default: null
public void optionMinY(double val)
Note that if a data sample falls outside this value, that value will take precedence.
Default: -Infinity for Line Graphs, zero for Bar Graphs and Area Graphs
public void optionMaxY(double val)
Note that if a data sample falls outside this value, that value will take precedence.
Default: +Infinity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |