com.androidplot.xy
Class BarRenderer
java.lang.Object
com.androidplot.ui.widget.renderer.DataRenderer<XYPlot,XYFormatterType>
com.androidplot.xy.XYSeriesRenderer<BarFormatter>
com.androidplot.xy.BarRenderer
public class BarRenderer
- extends XYSeriesRenderer<BarFormatter>
Renders a point as a Bar
BarRenderer
public BarRenderer(XYPlot plot)
setBarWidth
public void setBarWidth(float barWidth,
BarRenderer.BarWidthStyle style)
- Sets the width of the bars draw.
- Parameters:
barWidth
- style
-
onRender
public void onRender(android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
throws PlotRenderException
- Specified by:
onRender
in class DataRenderer<XYPlot,BarFormatter>
- Throws:
PlotRenderException
doDrawLegendIcon
public void doDrawLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
BarFormatter formatter)
- Description copied from class:
DataRenderer
- Draw the legend icon in the rect passed in.
Copyright © 2011. All Rights Reserved.