public class RadarChartRenderer extends LineRadarRenderer
BarLineScatterCandleBubbleRenderer.XBounds| Modifier and Type | Field and Description |
|---|---|
protected RadarChart |
mChart |
protected android.graphics.Path |
mDrawDataSetSurfacePathBuffer |
protected android.graphics.Path |
mDrawHighlightCirclePathBuffer |
protected android.graphics.Paint |
mHighlightCirclePaint |
protected android.graphics.Paint |
mWebPaint
paint for drawing the web
|
mXBoundsmAnimator, mDrawPaint, mHighlightPaint, mRenderPaint, mValuePaintmViewPortHandler| Constructor and Description |
|---|
RadarChartRenderer(RadarChart chart,
ChartAnimator animator,
ViewPortHandler viewPortHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawData(android.graphics.Canvas c)
Draws the actual data in form of lines, bars, ...
|
protected void |
drawDataSet(android.graphics.Canvas c,
IRadarDataSet dataSet,
int mostEntries)
Draws the RadarDataSet
|
void |
drawExtras(android.graphics.Canvas c)
Draws any kind of additional information (e.g.
|
void |
drawHighlightCircle(android.graphics.Canvas c,
MPPointF point,
float innerRadius,
float outerRadius,
int fillColor,
int strokeColor,
float strokeWidth) |
void |
drawHighlighted(android.graphics.Canvas c,
Highlight[] indices)
Draws all highlight indicators for the values that are currently highlighted.
|
void |
drawValue(android.graphics.Canvas c,
java.lang.String valueText,
float x,
float y,
int color)
Draws the value of the given entry by using the provided IValueFormatter.
|
void |
drawValues(android.graphics.Canvas c)
Loops over all Entrys and draws their values.
|
protected void |
drawWeb(android.graphics.Canvas c) |
android.graphics.Paint |
getWebPaint() |
void |
initBuffers()
Initializes the buffers used for rendering with a new size.
|
drawFilledPath, drawFilledPathdrawHighlightLinesisInBoundsX, shouldDrawValuesapplyValueTextStyle, getPaintHighlight, getPaintRender, getPaintValues, isDrawingValuesAllowedprotected RadarChart mChart
protected android.graphics.Paint mWebPaint
protected android.graphics.Paint mHighlightCirclePaint
protected android.graphics.Path mDrawDataSetSurfacePathBuffer
protected android.graphics.Path mDrawHighlightCirclePathBuffer
public RadarChartRenderer(RadarChart chart, ChartAnimator animator, ViewPortHandler viewPortHandler)
public android.graphics.Paint getWebPaint()
public void initBuffers()
DataRendererinitBuffers in class DataRendererpublic void drawData(android.graphics.Canvas c)
DataRendererdrawData in class DataRendererprotected void drawDataSet(android.graphics.Canvas c,
IRadarDataSet dataSet,
int mostEntries)
c - dataSet - mostEntries - the entry count of the dataset with the most entriespublic void drawValues(android.graphics.Canvas c)
DataRendererdrawValues in class DataRendererpublic void drawValue(android.graphics.Canvas c,
java.lang.String valueText,
float x,
float y,
int color)
DataRendererdrawValue in class DataRendererc - canvasvalueText - label to drawx - positiony - positionpublic void drawExtras(android.graphics.Canvas c)
DataRendererdrawExtras in class DataRendererprotected void drawWeb(android.graphics.Canvas c)
public void drawHighlighted(android.graphics.Canvas c,
Highlight[] indices)
DataRendererdrawHighlighted in class DataRendererindices - the highlighted valuespublic void drawHighlightCircle(android.graphics.Canvas c,
MPPointF point,
float innerRadius,
float outerRadius,
int fillColor,
int strokeColor,
float strokeWidth)