Simple chart library build using compose and kotlin.
1.1.0
Step 1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency:
dependencies {
implementation 'com.github.quipper:QAndroidComposeChart:1.1.0'
}
Step 1. Create ChartTheme for chart styling:
val chartTheme = ChartTheme.Builder().build()
Step 2. Create ChartData
val chartData = ChartData(listOf())
Step 3. Implement the Chart
QChart(
chartModalTitle = "Android Compose Chart",
chartTheme = chartTheme,
chartData = chartData,
onValueClicked = {}
)
- denisyordanp - Denis Y P
Want your name listed here as creator? Please just create the PR! ⚡