@Override public void drawSeries(Canvas canvas,Paint paint,List<Float> points,List<Double> values,XYSeriesRenderer seriesRenderer,SupportSeriesRender supportSeriesRender,float yAxisValue,int seriesIndex,int startIndex){
  int seriesNr=mDataset.getSeriesCount();
  int length=points.size();
  paint.setColor(seriesRenderer.getColor());
  paint.setStyle(Style.FILL);
  float halfDiffX=getHalfDiffX(points,length,seriesNr);
  for (int i=0; i < length; i+=2) {
    float x=points.get(i);
    float y=points.get(i + 1);
    drawBar(canvas,x,yAxisValue,x,y,halfDiffX,seriesNr,seriesIndex,paint);
  }
  paint.setColor(seriesRenderer.getColor());
}

@ Override public void drawSeries ( Canvas canvas , Paint paint , List < Float > points , List < Double > values , XYSeriesRenderer seriesRenderer , SupportSeriesRender supportSeriesRender , float yAxisValue , int seriesIndex , int startIndex ) { int seriesNr = mDataset . getSeriesCount ( ) ; int length = points . size ( ) ; paint . setColor ( seriesRenderer . getColor ( ) ) ; paint . setStyle ( Style . FILL ) ; float halfDiffX = getHalfDiffX ( points , length , seriesNr ) ; for ( int i = 0 ; i < length ; i += 2 ) { float x = points . get ( i ) ; float y = points . get ( i + 1 ) ; drawBar ( canvas , x , yAxisValue , x , y , halfDiffX , seriesNr , seriesIndex , paint ) ; } paint . setColor ( seriesRenderer . getColor ( ) ) ; }
the graphical representation of a series .
