0

I use MPAndroidChart in my project, today I meet a problem,please look the screenshot.

enter image description here

I know how to implement the left diagram,but I don't know the right how to implement.

Jsonzsl
  • 13
  • 6

1 Answers1

0

I know the answer:

XAxis xAxis = barChart.getXAxis(); xAxis.setPosition(XAxis.XAxisPosition.TOP);

YAxis leftYAxis = barChart.getAxisLeft(); leftYAxis.setInverted(true);

Jsonzsl
  • 13
  • 6