title: how to add string value in BarEntry mikephil.charting.charts.barchart For input string: "[2022/01/26, 2022/01/26, 2022/01/26]" Barchart
body: <p>I use barchart , I convert string value into float by .float() but it did not work<br />
  java.lang.NumberFormatException: For input string: &quot;[2022/01/26, 2022/01/26, 2022/01/26]&quot;</p>
  <pre><code>private fun barchart(root: View?) {   
          val bar: BarChart = root!!.findViewById(R.id.bar_chart)
          val id = reportViewModel.getallid()
          val days = reportViewModel.getalldays()
          val total = reportViewModel.getall_total()
          val item: ArrayList&lt;BarEntry&gt; = ArrayList()
          val v=0
          item.add(BarEntry(days.toString().toFloat(),total.toString().toFloat()))
  }
  </code></pre>