|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.gchart.client.GChart.AnnotationLocation
public static final class GChart.AnnotationLocation
Defines the location of a data point's annotation
(text label) relative to the location of that point's
symbol. The default annotation location is SOUTH. See
the "Field Summary" section below for the list of the
available annotation locations.
You can further adjust the position of a point's annotation by specifying non-zero positional shifts via the setAnnotationXShift and setAnnotationYShift methods.
Point.setAnnotationLocation,
Point.setAnnotationXShift,
Point.setAnnotationYShift| Field Summary | |
|---|---|
static GChart.AnnotationLocation |
CENTER
Specifies that a point's annotation (label) should be positioned so as to be centered on the symbol used to represent the point. |
static GChart.AnnotationLocation |
CLOSEST_TO_HORIZONTAL_BASELINE
Specifies that a point's annotation (label) should be placed just above, and centered horizontally on, vertical bars that grow down from a horizontal baseline, and just below, and centered horizontally on, vertical bars that grow up from a horizontal baseline. |
static GChart.AnnotationLocation |
CLOSEST_TO_VERTICAL_BASELINE
Specifies that a point's annotation (label) should be placed just to the right of, and centered vertically on, horizontal bars that grow left from a vertical baseline, and just to the left of, and centered vertically on, horizontal bars that grow right from a vertical baseline. |
static GChart.AnnotationLocation |
EAST
Specifies that a point's annotation (label) should be positioned just to the right of, and vertically centered on, the symbol used to represent the point. |
static GChart.AnnotationLocation |
FARTHEST_FROM_HORIZONTAL_BASELINE
Specifies that a point's annotation (label) should be placed just below, and centered horizontally on, vertical bars that grow down from a horizontal baseline, and just above, and centered horizontally on, vertical bars that grow up from a horizontal baseline. |
static GChart.AnnotationLocation |
FARTHEST_FROM_VERTICAL_BASELINE
Specifies that a point's annotation (label) should be placed just to the left of, and centered vertically on, horizontal bars that grow left from a vertical baseline, and just to the right of, and centered vertically on, horizontal bars that grow right from a vertical baseline. |
static GChart.AnnotationLocation |
INSIDE_PIE_ARC
Specifies that a point's annotation (label) should be positioned just inside, and centered on, the arc side of a pie slice. |
static GChart.AnnotationLocation |
NORTH
Specifies that a point's annotation (label) should be positioned just above, and horizontally centered on, the symbol used to represent the point. |
static GChart.AnnotationLocation |
NORTHEAST
Specifies that a point's annotation (label) should be positioned just to the right of and above, the symbol used to represent the point. |
static GChart.AnnotationLocation |
NORTHWEST
Specifies that a point's annotation (label) should be positioned just to the left of and above, the symbol used to represent the point. |
static GChart.AnnotationLocation |
ON_PIE_ARC
Specifies that a point's annotation (label) should be centered on the center-point of the arc side of a pie slice. |
static GChart.AnnotationLocation |
OUTSIDE_PIE_ARC
Specifies that a point's annotation (label) should be positioned just outside, and centered on, the arc side of a pie slice. |
static GChart.AnnotationLocation |
SOUTH
Specifies that a point's annotation (label) should be positioned just below, and horizontally centered on, the symbol used to represent the point. |
static GChart.AnnotationLocation |
SOUTHEAST
Specifies that a point's annotation (label) should be positioned just to the right of and below, the symbol used to represent the point. |
static GChart.AnnotationLocation |
SOUTHWEST
Specifies that a point's annotation (label) should be positioned just to the left of and below, the symbol used to represent the point. |
static GChart.AnnotationLocation |
WEST
Specifies that a point's annotation (label) should be positioned just to the left of, and vertically centered on, the symbol used to represent the point. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GChart.AnnotationLocation CENTER
setAnnotationLocationpublic static final GChart.AnnotationLocation ON_PIE_ARC
You can move a pie slice's annotation a specific number of pixels radially away from (or towards) the pie center by passing a positive (or negative) argument to the associated Point's setAnnotationXShift method.
This is pie-friendly synonym for, and when used with non-pie symbol types will behave exactly the same as, AnnotationLocation.CENTER
OUTSIDE_PIE_ARC,
INSIDE_PIE_ARC,
setAnnotationLocation,
CENTERpublic static final GChart.AnnotationLocation EAST
GChart.Point.setAnnotationLocation(com.googlecode.gchart.client.GChart.AnnotationLocation)public static final GChart.AnnotationLocation FARTHEST_FROM_VERTICAL_BASELINE
This another name for AnnotationLocation.EAST. Its sole purpose is to clarify/document the behavior of this location type when used in conjunction with curves that employ the HBAR_BASELINE_* family of symbol types.
setAnnotationLocation,
SymbolType.HBAR_BASELINE_CENTERpublic static final GChart.AnnotationLocation NORTH
setAnnotationLocationpublic static final GChart.AnnotationLocation CLOSEST_TO_HORIZONTAL_BASELINE
This another name for AnnotationLocation.NORTH. Its sole purpose is to clarify/document the behavior of this location type when used in conjunction with curves that employ VBAR_BASELINE_* symbol types.
setAnnotationLocation,
SymbolType.VBAR_BASELINE_CENTERpublic static final GChart.AnnotationLocation INSIDE_PIE_ARC
You can move a pie slice's annotation a specific number of pixels radially away from (or towards) the pie center by passing a positive (or negative) argument to the associated Point's setAnnotationXShift method.
This is pie-friendly synonym for, and when used with non-pie symbol types will behave exactly the same as, AnnotationLocation.NORTH
OUTSIDE_PIE_ARC,
ON_PIE_ARC,
setAnnotationLocation,
NORTHpublic static final GChart.AnnotationLocation NORTHEAST
GChart.Point.setAnnotationLocation(com.googlecode.gchart.client.GChart.AnnotationLocation)public static final GChart.AnnotationLocation NORTHWEST
GChart.Point.setAnnotationLocation(com.googlecode.gchart.client.GChart.AnnotationLocation)public static final GChart.AnnotationLocation SOUTH
setAnnotationLocationpublic static final GChart.AnnotationLocation FARTHEST_FROM_HORIZONTAL_BASELINE
This another name for AnnotationLocation.SOUTH. Its sole purpose is to clarify/document the behavior of this location type when used in conjunction with curves that employ VBAR_BASELINE_* symbol types.
setAnnotationLocation,
SymbolType.VBAR_BASELINE_CENTERpublic static final GChart.AnnotationLocation OUTSIDE_PIE_ARC
You can move a pie slice's annotation a specific number of pixels radially away from (or towards) the pie center by passing a positive (or negative) argument to the associated Point's setAnnotationXShift method.
This is pie-friendly synonym for, and when used with non-pie symbol types will behave exactly the same as, AnnotationLocation.SOUTH
INSIDE_PIE_ARC,
ON_PIE_ARC,
setAnnotationLocation,
setAnnotationXShift,
SOUTHpublic static final GChart.AnnotationLocation SOUTHEAST
setAnnotationLocationpublic static final GChart.AnnotationLocation SOUTHWEST
setAnnotationLocationpublic static final GChart.AnnotationLocation WEST
setAnnotationLocationpublic static final GChart.AnnotationLocation CLOSEST_TO_VERTICAL_BASELINE
This another name for AnnotationLocation.WEST. Its sole purpose is to clarify/document the behavior of this location type when used in conjunction with curves that employ the HBAR_BASELINE_* symbol types.
setAnnotationLocation,
SymbolType.HBAR_BASELINE_CENTER
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||