@Override public void drawSeries(Canvas canvas,Paint paint,List<Float> points,List<Double> values,XYSeriesRenderer renderer,SupportSeriesRender supportSeriesRender,float yAxisValue,int seriesIndex,int startIndex){
  paint.setColor(renderer.getColor());
  paint.setStyle(Style.FILL);
  int length=points.size();
  XYValueSeries series=(XYValueSeries)mDataset.getSeriesAt(seriesIndex);
  double max=series.getMaxValue();
  double coef=MAX_BUBBLE_SIZE / max;
  for (int i=0; i < length; i+=2) {
    double size=series.getValue(startIndex + i / 2) * coef + MIN_BUBBLE_SIZE;
    drawCircle(canvas,paint,points.get(i),points.get(i + 1),(float)size);
  }
}

@ Override public void drawSeries ( Canvas canvas , Paint paint , List < Float > points , List < Double > values , XYSeriesRenderer renderer , SupportSeriesRender supportSeriesRender , float yAxisValue , int seriesIndex , int startIndex ) { paint . setColor ( renderer . getColor ( ) ) ; paint . setStyle ( Style . FILL ) ; int length = points . size ( ) ; XYValueSeries series = ( XYValueSeries ) mDataset . getSeriesAt ( seriesIndex ) ; double max = series . getMaxValue ( ) ; double coef = MAX_BUBBLE_SIZE / max ; for ( int i = 0 ; i < length ; i += 2 ) { double size = series . getValue ( startIndex + i / 2 ) * coef + MIN_BUBBLE_SIZE ; drawCircle ( canvas , paint , points . get ( i ) , points . get ( i + 1 ) , ( float ) size ) ; } }
the graphical representation of a series .
