MPAndroidChart - Why BarData constructor not work?

前端 未结 4 1294
攒了一身酷
攒了一身酷 2021-01-20 01:40

My code:

 public BarData getBarData(String fieldName) {
        ArrayList entries = new ArrayList<>();
        entries.add(new BarEntry         


        
4条回答
  •  猫巷女王i
    2021-01-20 02:22

    Because you are using the latest version which includes major changes. Replace dependency version to this : implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'

提交回复
热议问题