public class LabelPointRenderer extends DefaultPointRenderer2D
Drawable
s, which display a specified data
values.Modifier and Type | Field and Description |
---|---|
static Key |
ALIGNMENT_X
Key for specifying a
Number value for the horizontal alignment
relative to the data point. 0 means left, 1 means right. |
static Key |
ALIGNMENT_Y
Key for specifying a
Number value for the vertical alignment
relative to the data point. 0 means top, 1 means bottom. |
static Key |
COLUMN
Key for specifying the
Integer which specifies the index of the
column that is used for point sizes. |
static Key |
FONT
Key for specifying a
Font instance for the font of
this label. |
static Key |
FORMAT
Key for specifying the
Format instance which
specifies how the labels will be displayed. |
COLOR, ERROR_COLOR, ERROR_COLUMN_BOTTOM, ERROR_COLUMN_TOP, ERROR_DISPLAYED, ERROR_SHAPE, ERROR_STROKE, SHAPE, VALUE_ALIGNMENT_X, VALUE_ALIGNMENT_Y, VALUE_COLOR, VALUE_COLUMN, VALUE_DISPLAYED, VALUE_DISTANCE, VALUE_FONT, VALUE_FORMAT, VALUE_LOCATION, VALUE_ROTATION
Constructor and Description |
---|
LabelPointRenderer()
Initializes a new object.
|
Modifier and Type | Method and Description |
---|---|
Shape |
getPointShape(PointData data)
Returns a
Shape instance that can be used for further
calculations. |
drawErrorBars, drawValueLabel, getPoint, getValue
setSetting, settingChanged
addSettingsListener, getSetting, hasSetting, hasSettingDefault, notifySettingChanged, removeSetting, removeSettingDefault, removeSettingsListener, setSetting, setSettingDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
public static final Key COLUMN
Integer
which specifies the index of the
column that is used for point sizes.public static final Key FORMAT
Format
instance which
specifies how the labels will be displayed.public static final Key ALIGNMENT_X
Number
value for the horizontal alignment
relative to the data point. 0 means left, 1 means right.public Shape getPointShape(PointData data)
DefaultPointRenderer2D
Shape
instance that can be used for further
calculations.getPointShape
in interface PointRenderer
getPointShape
in class DefaultPointRenderer2D
data
- Information on axes, renderers, and values.Copyright © 2009-2013. All Rights Reserved.