question: @ Override public void drawSeries ( Canvas canvas , Paint paint , List < Float > points , XYSeriesRenderer seriesRenderer , 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 ) ; Point [ ] yvals = new Point [ length / 2 ] ; for ( int i = 0 ; i < length ; i += 2 ) { Point p = new Point ( ) ; p . seriesIndex = i / 2 ; p . yval = points . get ( i + 1 ) ; yvals [ i / 2 ] = p ; } for ( int i = 0 ; i < length ; i += 2 ) { float x = points . get ( i ) ; float y = points . get ( i + 1 ) ; if ( mType == Type . HEAPED && seriesIndex > 0 ) { float lastY = mPreviousSeriesPoints . get ( i + 1 ) ; y = y + ( lastY - yAxisValue ) ; points . set ( i + 1 , y ) ; drawBar ( canvas , x , lastY , x , y , halfDiffX , seriesNr , seriesIndex , paint ) ; } else { drawBar ( canvas , x , yAxisValue , x , y , halfDiffX , seriesNr , seriesIndex , paint ) ; } } paint . setColor ( seriesRenderer . getColor ( ) ) ; mPreviousSeriesPoints = points ; }
target:  The graphical representation of a series.