private float drawYAxisMarkers(ChartValueSeries chartValueSeries,Canvas canvas,int xPosition){
  int interval=chartValueSeries.getInterval();
  float maxMarkerWidth=0;
  for (int i=0; i <= Y_AXIS_INTERVALS; i++) {
    maxMarkerWidth=Math.max(maxMarkerWidth,drawYAxisMarker(chartValueSeries,canvas,xPosition,i * interval + chartValueSeries.getMinMarkerValue()));
  }
  return maxMarkerWidth;
}

private float drawYAxisMarkers ( ChartValueSeries chartValueSeries , Canvas canvas , int xPosition ) { int interval = chartValueSeries . getInterval ( ) ; float maxMarkerWidth = 0 ; for ( int i = 0 ; i <= Y_AXIS_INTERVALS ; i ++ ) { maxMarkerWidth = Math . max ( maxMarkerWidth , drawYAxisMarker ( chartValueSeries , canvas , xPosition , i * interval + chartValueSeries . getMinMarkerValue ( ) ) ) ; } return maxMarkerWidth ; }
draws the y axis markers for a chart value series .
