private void drawXAxisMarker(Canvas canvas,double value,NumberFormat numberFormat,int spacing){
  String marker=chartByDistance ? numberFormat.format(value) : StringUtils.formatElapsedTime((long)value);
  Rect rect=getRect(xAxisMarkerPaint,marker);
  canvas.drawText(marker,getX(value),topBorder + effectiveHeight + spacing+ rect.height(),xAxisMarkerPaint);
}

private void drawXAxisMarker ( Canvas canvas , double value , NumberFormat numberFormat , int spacing ) { String marker = chartByDistance ? numberFormat . format ( value ) : StringUtils . formatElapsedTime ( ( long ) value ) ; Rect rect = getRect ( xAxisMarkerPaint , marker ) ; canvas . drawText ( marker , getX ( value ) , topBorder + effectiveHeight + spacing + rect . height ( ) , xAxisMarkerPaint ) ; }
draws a x axis marker .
