public class PieLegendWidget extends LegendWidget<PieLegendItem>
Widget.Rotation| Constructor and Description |
|---|
PieLegendWidget(LayoutManager layoutManager,
PieChart pieChart,
Size widgetSize,
TableModel tableModel,
Size iconSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawIcon(android.graphics.Canvas canvas,
android.graphics.RectF iconRect,
PieLegendItem item)
Draw the icon representing the legend item
|
protected List<PieLegendItem> |
getLegendItems() |
beginDrawingCell, doOnDraw, drawItem, finishDrawingCell, getIconSize, getLegendItemComparator, getRectCenterY, getTextPaint, isDrawIconBackgroundEnabled, isDrawIconBorderEnabled, setDrawIconBackgroundEnabled, setDrawIconBorderEnabled, setIconSize, setLegendItemComparator, setTableModel, setTextPaintapplyRotation, containsPoint, draw, drawBackground, drawBorder, getAnchor, getAnchorCoordinates, getAnchorCoordinates, getAnchorOffset, getBackgroundPaint, getBorderPaint, getElementCoordinates, getHeightMetric, getHeightPix, getMarginatedRect, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddedRect, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPositionMetrics, getRotation, getSize, getWidgetDimensions, getWidthMetric, getWidthPix, isClippingEnabled, isVisible, layout, onMetricsChanged, onPostInit, position, position, refreshLayout, setAnchor, setBackgroundPaint, setBorderPaint, setClippingEnabled, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPositionMetrics, setRotation, setSize, setVisible, setWidth, setWidthpublic PieLegendWidget(LayoutManager layoutManager, PieChart pieChart, Size widgetSize, TableModel tableModel, Size iconSize)
protected void drawIcon(android.graphics.Canvas canvas,
android.graphics.RectF iconRect,
PieLegendItem item)
LegendWidgetdrawIcon in class LegendWidget<PieLegendItem>iconRect - The space to be occupied by the icon.protected List<PieLegendItem> getLegendItems()
getLegendItems in class LegendWidget<PieLegendItem>