com.jidesoft.chart.render
Interface PieLabelRenderer2D
- All Superinterfaces:
- PieLabelRenderer
- All Known Implementing Classes:
- LinePieLabelRenderer, SimplePieLabelRenderer
public interface PieLabelRenderer2D
- extends PieLabelRenderer
An interface implemented by objects that are responsible for painting the labels of a pie chart, but also
supporting floating point numbers for positioning.
renderLabels
void renderLabels(Graphics2D g,
Chart chart,
ChartModel model,
Point2D center,
double width,
double height,
float[] angles,
ChartStyle style)
- Render the labels to the supplied graphics context
- Parameters:
g
- the graphics contextchart
- the chart to rendermodel
- the model from which the points comecenter
- the center of the piewidth
- the width of the pieheight
- the height of the pieangles
- the angles to use for the segments of the piestyle
- the chart style to use for displaying the segments