# compose

Yoshio Schermer

02/21/2022, 1:51 PM
What chart library do y’all recommend or use for Compose projects? My use case is pie charts and line charts, but I’m having a hard time to find a Compose library for this and considering to use a View library instead. I’m trying to create something like the line chart here
☝🏻 1
☝️ 1

ildar.i [Android]

02/22/2022, 5:32 AM
My guess is using native Views with AndroidView

Yoshio Schermer

02/22/2022, 4:48 PM
I ended up creating a wrapper around MPAndroidCharts, picked it because it seems to be the one which is most configurable and popular. Unfortunately, the repo looks and perhaps is abandoned ( For anyone else about to wander this road, it does the basics of displaying different types of graph and simple interactions fine (zoom / pan / tap). But it lacks scrubbing (= drag along the lines and see some feedback, for example moving time in a YT video).
👍 1