public class RangeBarSeriesLabelRenderer extends BaseLabelRenderer
RangeBarSeries
instances.LABEL_COLOR_PROPERTY_KEY, LABEL_FILL_COLOR_PROPERTY_KEY, LABEL_STROKE_COLOR_PROPERTY_KEY
Constructor and Description |
---|
RangeBarSeriesLabelRenderer(ChartSeries owner)
Creates a new instance of the
RangeBarSeriesLabelRenderer class. |
Modifier and Type | Method and Description |
---|---|
void |
renderLabel(Canvas canvas,
ChartNode dataPoint)
|
applyPalette, getLabelFillColor, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelMargin, getLabelSize, getLabelStrokeColor, getLabelTextColor, getLabelValueToStringConverter, invalidatePalette, setLabelFillColor, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelMargin, setLabelPadding, setLabelSize, setLabelStrokeColor, setLabelTextColor, setLabelValueToStringConverter
getValue, resetPropertyValue, setValue, setValue
public RangeBarSeriesLabelRenderer(ChartSeries owner)
RangeBarSeriesLabelRenderer
class.owner
- the chart series owning this renderer instance.public void renderLabel(Canvas canvas, ChartNode dataPoint)
ChartLabelRenderer
renderLabel
in interface ChartLabelRenderer
renderLabel
in class BaseLabelRenderer
canvas
- The canvas to draw on.dataPoint
- The ChartNode
that is related to the label. For a series it will be a DataPoint
. For an Axis
it will be an AxisTickModel
.