MPAndroidChart - First and last bars not rendering correctly

后端 未结 4 666
南旧
南旧 2021-01-11 13:40
  1. In the bar chart I am creating the first and last rows are consistently being cut in half (even if I add additional bars). This also causes the values above the bar

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-11 14:09

    i just fixed it,settings the x range min, using

      barChart.setFitBars(true);
      barChart.setVisibleXRangeMinimum(barEntries.size());
    

提交回复
热议问题