-
public class LegendRenderer extends Renderer
-
-
Field Summary
Fields Modifier and Type Field Description private PaintlabelPaintprivate PaintformPaint
-
Constructor Summary
Constructors Constructor Description LegendRenderer(ViewPortHandler viewPortHandler, Legend legend)
-
Method Summary
Modifier and Type Method Description final PaintgetLabelPaint()paint for the legend labels final UnitsetLabelPaint(Paint labelPaint)final PaintgetFormPaint()final UnitsetFormPaint(Paint formPaint)final UnitcomputeLegend(ChartData<?> data)Prepares the legend and calculates all needed forms, labels and colors. final UnitrenderLegend(Canvas c)-
-
Constructor Detail
-
LegendRenderer
LegendRenderer(ViewPortHandler viewPortHandler, Legend legend)
-
-
Method Detail
-
getLabelPaint
final Paint getLabelPaint()
paint for the legend labels
-
setLabelPaint
final Unit setLabelPaint(Paint labelPaint)
-
getFormPaint
final Paint getFormPaint()
-
setFormPaint
final Unit setFormPaint(Paint formPaint)
-
computeLegend
final Unit computeLegend(ChartData<?> data)
Prepares the legend and calculates all needed forms, labels and colors.
-
renderLegend
final Unit renderLegend(Canvas c)
-
-
-
-