public static interface

ShinobiChart.OnPieDonutSliceLabelDrawListener

com.shinobicontrols.charts.ShinobiChart.OnPieDonutSliceLabelDrawListener

Class Overview

Interface definition for a callback to be invoked when a pie or donut series label is about to be drawn.

Summary

Public Methods
abstract void onDrawLabel(Canvas canvas, PieDonutSlice slice, Rect labelBackgroundRect, PieDonutSeries<?> series)
Notification that a pie or donut slice label is about to be drawn.

Public Methods

public abstract void onDrawLabel (Canvas canvas, PieDonutSlice slice, Rect labelBackgroundRect, PieDonutSeries<?> series)

Notification that a pie or donut slice label is about to be drawn. This method is responsible for drawing the label and label background on to the canvas.

Parameters
canvas The canvas on which to draw the label.
slice The pie or donut slice.
labelBackgroundRect The Rect which will be used to draw the label background.
series The series which the pie slice belongs to.