title: MPAndroidChart - Remove top border / axis since v2
body: <p>I upgraded MPAndroidChart from v1.7 to v2 and had to change a couple things.
  One of the new things is that i now appear to have a top border for the maximum value.</p>
  
  <p><img src="https://i.stack.imgur.com/Z2Dlm.jpg" alt="The top border is what i want to remove"></p>
  
  <p>My code trying to hide all borders is like this:</p>
  
  <pre><code>    LineChart graph = (LineChart) connectionView.findViewById(R.id.graph);
      graph.setDrawGridBackground(false);
      graph.setDrawBorders(false);
      graph.setDescription("");
  
      YAxis yr = graph.getAxisRight();
      yr.setEnabled(false);
      yr.setDrawAxisLine(false);
  
      YAxis yl = graph.getAxisLeft();
      yl.setValueFormatter(formatierer);
      yl.setShowOnlyMinMax(true);
      yl.setDrawAxisLine(false);
  
      XAxis xl = graph.getXAxis();
      xl.setPosition(XAxis.XAxisPosition.BOTTOM);
      xl.setDrawGridLines(false);
      xl.setDrawAxisLine(false);
  
      yl.setAxisMaxValue((float) graphpoint_max);
  </code></pre>
  
  <p>Still - i have a line showing the maximum value. I want to have the values on the YAxis but have no horizontal axis lines / borders. I wasn't able to find any command to hide it.</p>