MPAndroidChart - First and last bars not rendering correctly

后端 未结 4 694
南旧
南旧 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 13:48

    If the problem is with the first bar only, you can use negative values for the axis minimum:

    xAxis.setAxisMinimum(-0.5f);
    

    Like in the answer to this question here:

提交回复
热议问题