Skip to content

quipper/QAndroidComposeChart

Repository files navigation

QAndroidComposeChart

Simple chart library build using compose and kotlin.

Example View

  • Basic style
    Apr-14-2022 08-28-31
  • Curved style
    Apr-14-2022 08-29-54

Release version :

1.1.0

Gradle setup

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'
}

How to use

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 = {}
)

Creator

Want your name listed here as creator? Please just create the PR!

About

Simple chart library build using compose and kotlin.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages