retrieve data from database and show them in bar chart using MPAndroidChart in android
I know how to show the raw data in bar chart using MPAndroidChart but I got problem in real scenario. I have some data in my sqlite database and I want to show them in bar chart. Please give me some reference or simple example.
Database table has two columns month and some numbers. eg: Jan = 200, Feb = 300, etc.
I have searched many but could not find the right one. They were either 2-3 years old or not the type as I mentioned.