MPAndroidChart - Adding labels to bar chart

前端 未结 4 2053
北恋
北恋 2020-11-30 09:01

It is necessary for my application to have a label on each bar of the bar chart. Is there a way to do this with MPAndroidChart? I could not find a way to do this on the proj

4条回答
  •  臣服心动
    2020-11-30 09:29

    you can set the column label above by adding this line

    xAxis.setPosition(XAxis.XAxisPosition.BOTTOM);
    

提交回复
热议问题