How can i pass string and float value in MPAndroid bar chart

Multi tool use
How can i pass string and float value in MPAndroid bar chart
I am using bar chart my app
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
I tried to pass x-axis value in string but it show error. is there any other options ?
string but it show error
Why dont you convert string into int or double and then pass ?
– KhanStan99
Jul 3 at 8:24
i want to pass some text
– Paramasivam Mathesh
Jul 3 at 9:45
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
string but it show error
what error? share that error with question– Nilesh Rathod
Jul 3 at 8:23