public class PointingLabelRenderer extends BaseLabelRenderer
LABEL_COLOR_PROPERTY_KEY, LABEL_FILL_COLOR_PROPERTY_KEY, LABEL_STROKE_COLOR_PROPERTY_KEY
Constructor and Description |
---|
PointingLabelRenderer(ChartSeries owner)
Creates a new instance of the
PointingLabelRenderer class. |
PointingLabelRenderer(ChartSeries owner,
float pointerLength,
float pointerWidth)
Creates a new instance of the
PointingLabelRenderer class. |
Modifier and Type | Method and Description |
---|---|
float |
getPointerLength()
Gets the length of the label pointer measured from its base to the end point.
|
float |
getPointerWidth()
Gets the width of the label pointer measured from its base.
|
void |
setPointerLength(float pointerLength)
Sets the length of the label pointer measured from its base to the end point.
|
void |
setPointerWidth(float pointerWidth)
Sets the width of the label pointer measured from its base.
|
applyPalette, getLabelFillColor, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelMargin, getLabelSize, getLabelStrokeColor, getLabelTextColor, getLabelValueToStringConverter, invalidatePalette, renderLabel, setLabelFillColor, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelMargin, setLabelPadding, setLabelSize, setLabelStrokeColor, setLabelTextColor, setLabelValueToStringConverter
getValue, resetPropertyValue, setValue, setValue
public PointingLabelRenderer(ChartSeries owner)
PointingLabelRenderer
class.owner
- the chart series that own the current renderer instance.BaseLabelRenderer
public PointingLabelRenderer(ChartSeries owner, float pointerLength, float pointerWidth)
PointingLabelRenderer
class.owner
- the chart series that own the current renderer instance.pointerLength
- the length of the pointer.pointerWidth
- the width of the pointer.public float getPointerLength()
public void setPointerLength(float pointerLength)
pointerLength
- the new pointer length.public float getPointerWidth()
public void setPointerWidth(float pointerWidth)
pointerWidth
- the new pointer width.