https://github.com/quipper/qandroidcomposechart
Simple chart library build using compose and kotlin.
https://github.com/quipper/qandroidcomposechart
android android-library chart chart-library jetpack-compose kotlin
Last synced: 2 months ago
JSON representation
Simple chart library build using compose and kotlin.
- Host: GitHub
- URL: https://github.com/quipper/qandroidcomposechart
- Owner: quipper
- License: mit
- Created: 2022-04-12T02:54:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T05:40:47.000Z (over 2 years ago)
- Last Synced: 2025-04-05T07:33:00.980Z (3 months ago)
- Topics: android, android-library, chart, chart-library, jetpack-compose, kotlin
- Language: Kotlin
- Homepage:
- Size: 126 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QAndroidComposeChart
Simple chart library build using compose and kotlin.### Example View
- Basic style\

- Curved style\
### **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
- [denisyordanp](https://github.com/denisyordanp) - Denis Y P**_Want your name listed here as creator? Please just create the PR!_** :zap: