title: MPAndroidChart Label inside Bar
body: <p>I am using an HorizontalBarChart I want to draw a Label (the name of the vendor) inside or in the middle of the Bar, in the BarDaset there is something called setLabel but it's not working.
  Here is my code:</p>
  
  <pre><code> private BarDataSet createLineChart(String storeName, List&lt;String&gt; listofcompanies){
  
      ArrayList&lt;BarEntry&gt; entries= new ArrayList&lt;BarEntry&gt;();
      for (int j = 0; j &lt; listofcompanies.size(); j++) {
          entries.add(new   BarEntry(Float.parseFloat(listofcompanies.get(j)),j));
  
      }
      Random rd = new Random();
      setComp1 = new BarDataSet(entries,storeName);
      setComp1.setColor(Color.argb(255,rd.nextInt(256),rd.nextInt(256),rd.nextInt(256)));
             setComp1.setDrawValues(true);
      setComp1.setLabel(storeName);
      setComp1.setHighlightEnabled(true);
      setComp1.setDrawValues(true);
      // LineData data =new LineData(labels,dataset);
      return setComp1;
  }
  </code></pre>