protected void drawXTextLabels(Double[] xTextLabelLocations,Canvas canvas,Paint paint,boolean showLabels,int left,int top,int bottom,double xPixelsPerUnit,double minX,double maxX){
  boolean showCustomTextGridX=mRenderer.isShowCustomTextGridX();
  boolean showTickMarks=mRenderer.isShowTickMarks();
  if (showLabels) {
    paint.setColor(mRenderer.getXLabelsColor());
    for (    Double location : xTextLabelLocations) {
      if (minX <= location && location <= maxX) {
        float xLabel=(float)(left + xPixelsPerUnit * (location.doubleValue() - minX));
        paint.setColor(mRenderer.getXLabelsColor());
        if (showTickMarks) {
          canvas.drawLine(xLabel,bottom,xLabel,bottom + mRenderer.getLabelsTextSize() / 3,paint);
        }
        drawText(canvas,mRenderer.getXTextLabel(location),xLabel,bottom + mRenderer.getLabelsTextSize() * 4 / 3 + mRenderer.getXLabelsPadding(),paint,mRenderer.getXLabelsAngle());
        if (showCustomTextGridX) {
          paint.setColor(mRenderer.getGridColor(0));
          canvas.drawLine(xLabel,bottom,xLabel,top,paint);
        }
      }
    }
  }
}

protected void drawXTextLabels ( Double [ ] xTextLabelLocations , Canvas canvas , Paint paint , boolean showLabels , int left , int top , int bottom , double xPixelsPerUnit , double minX , double maxX ) { boolean showCustomTextGridX = mRenderer . isShowCustomTextGridX ( ) ; boolean showTickMarks = mRenderer . isShowTickMarks ( ) ; if ( showLabels ) { paint . setColor ( mRenderer . getXLabelsColor ( ) ) ; for ( Double location : xTextLabelLocations ) { if ( minX <= location && location <= maxX ) { float xLabel = ( float ) ( left + xPixelsPerUnit * ( location . doubleValue ( ) - minX ) ) ; paint . setColor ( mRenderer . getXLabelsColor ( ) ) ; if ( showTickMarks ) { canvas . drawLine ( xLabel , bottom , xLabel , bottom + mRenderer . getLabelsTextSize ( ) / 3 , paint ) ; } drawText ( canvas , mRenderer . getXTextLabel ( location ) , xLabel , bottom + mRenderer . getLabelsTextSize ( ) * 4 / 3 + mRenderer . getXLabelsPadding ( ) , paint , mRenderer . getXLabelsAngle ( ) ) ; if ( showCustomTextGridX ) { paint . setColor ( mRenderer . getGridColor ( 0 ) ) ; canvas . drawLine ( xLabel , bottom , xLabel , top , paint ) ; } } } } }
the graphical representation of the text labels on the x axis .
