JIDE 3.5.15

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.


Method Summary
 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
 
Methods inherited from interface com.jidesoft.chart.render.PieLabelRenderer
getPointLabeler, getTickLength, renderLabels, setPointLabeler, setTickLength
 

Method Detail

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 context
chart - the chart to render
model - the model from which the points come
center - the center of the pie
width - the width of the pie
height - the height of the pie
angles - the angles to use for the segments of the pie
style - the chart style to use for displaying the segments

JIDE 3.5.15