MPAndroidChart
MPAndroidChart copied to clipboard
Support for Jetpack Compose?
Is your feature request related to a problem? Please describe. How to use MPAndroidChart with Jetpack Compose?
Describe the solution you'd like Though Jetpack compose can work with xml layout , will there be a jetpack compose implementation of this librar?
Describe alternatives you've considered No alternatives as of yet
Additional context With help of jetpack compose we would be able to extend this library to all OS running android as well as Desktop applications as there is a high chance Compose would run on Windows and MacOS and even may be on iOS with help of Kotlin Multiplatform. May be even on web with help of KotlinJS
You can add the chart using AndroidView but If you click on chart, data is disappearing.
For me it is working fine with the AndroidView, except that the font size of the values of the first chart is very small. If I leave the view and return, it shows the correct font size.
https://user-images.githubusercontent.com/7605173/143591109-84b722f0-c4b0-4084-9e91-575f271ec9ee.mov
It has been a while. Are there any updates? Is this something being worked on?
The last commit were on 2021, maybe this library isn't maintained anymore?
To all of you looking for Android Chart Library that is actively maintained, have rich customizations, and supports both View and Compose system, I recommend Vico. It's pretty good!
To all of you looking for Android Chart Library that is actively maintained, have rich customizations, and supports both View and Compose system, I recommend Vico. It's pretty good!
This absolutely works- thanks Risalfajar