code: public void drawInForeground(Canvas canvas) {
          Axis axis = chart.getChartData().getAxisYLeft();
          if (null != axis) {
              drawAxisLabelsAndName(canvas, axis, LEFT);
          }
  
          axis = chart.getChartData().getAxisYRight();
          if (null != axis) {
              drawAxisLabelsAndName(canvas, axis, RIGHT);
          }
  
          axis = chart.getChartData().getAxisXBottom();
          if (null != axis) {
              drawAxisLabelsAndName(canvas, axis, BOTTOM);
          }
  
          axis = chart.getChartData().getAxisXTop();
          if (null != axis) {
              drawAxisLabelsAndName(canvas, axis, TOP);
          }
      }
docs: Draw axes labels and names in the foreground.
  
  @param canvas