com.jjoe64.graphview
Class BarGraphView

java.lang.Object
  extended by LinearLayout
      extended by com.jjoe64.graphview.GraphView
          extended by com.jjoe64.graphview.BarGraphView

public class BarGraphView
extends GraphView

Draws a Bar Chart

Author:
Muhammad Shahab Hameed

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jjoe64.graphview.GraphView
GraphView.GraphViewData, GraphView.LegendAlign
 
Field Summary
 
Fields inherited from class com.jjoe64.graphview.GraphView
paint
 
Constructor Summary
BarGraphView(Context context, AttributeSet attrs)
           
BarGraphView(Context context, java.lang.String title)
           
 
Method Summary
 void drawSeries(Canvas canvas, GraphViewDataInterface[] values, float graphwidth, float graphheight, float border, double minX, double minY, double diffX, double diffY, float horstart, GraphViewSeries.GraphViewSeriesStyle style)
           
 
Methods inherited from class com.jjoe64.graphview.GraphView
addSeries, drawLegend, formatLabel, getCustomLabelFormatter, getGraphViewStyle, getLegendAlign, getLegendWidth, getMaxX, getMaxY, getMinX, getMinY, isDisableTouch, isScrollable, isShowLegend, redrawAll, removeAllSeries, removeSeries, removeSeries, scrollToEnd, setCustomLabelFormatter, setDisableTouch, setGraphViewStyle, setHorizontalLabels, setLegendAlign, setLegendWidth, setManualYAxis, setManualYAxisBounds, setScalable, setScrollable, setShowLegend, setTitle, setVerticalLabels, setViewPort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarGraphView

public BarGraphView(Context context,
                    AttributeSet attrs)

BarGraphView

public BarGraphView(Context context,
                    java.lang.String title)
Method Detail

drawSeries

public void drawSeries(Canvas canvas,
                       GraphViewDataInterface[] values,
                       float graphwidth,
                       float graphheight,
                       float border,
                       double minX,
                       double minY,
                       double diffX,
                       double diffY,
                       float horstart,
                       GraphViewSeries.GraphViewSeriesStyle style)
Specified by:
drawSeries in class GraphView