|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.androidplot.ui.widget.renderer.DataRenderer<XYPlot,XYFormatterType>
com.androidplot.xy.XYSeriesRenderer<BarFormatter>
com.androidplot.xy.BarRenderer
public class BarRenderer
Renders a point as a Bar
| Nested Class Summary | |
|---|---|
static class |
BarRenderer.BarRenderStyle
|
static class |
BarRenderer.BarWidthStyle
|
| Constructor Summary | |
|---|---|
BarRenderer(XYPlot plot)
|
|
| Method Summary | |
|---|---|
void |
doDrawLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
BarFormatter formatter)
Draw the legend icon in the rect passed in. |
void |
onRender(android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
|
void |
setBarWidth(float barWidth,
BarRenderer.BarWidthStyle style)
Sets the width of the bars draw. |
| Methods inherited from class com.androidplot.ui.widget.renderer.DataRenderer |
|---|
drawLegendIcon, getFormatter, getPlot, render, setPlot |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BarRenderer(XYPlot plot)
| Method Detail |
|---|
public void setBarWidth(float barWidth,
BarRenderer.BarWidthStyle style)
barWidth - style -
public void onRender(android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
throws PlotRenderException
onRender in class DataRenderer<XYPlot,BarFormatter>PlotRenderException
public void doDrawLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
BarFormatter formatter)
DataRenderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||