This is a simple chats library made with Jetpack compose
- Line Chart
- Pie Chart
- Range Chart
- CircularBar Chart
- Column Chart
- Group Chart
- Gauge Chart
- Heap Map
- Pyramid Chart
- CandleStick Chart
- Area Chart
- Add XY blocks to Line and range chart
- Line Chart
- Pie Chart
- CircularBar Chart
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
build.gradle (app)
dependencies {
implementation 'com.github.md0092651:PlotWizard:0.0.10-alpha'
}
To implement basic Range chart
Chart(chartListData = getMockRangeList()) // Pass your list of type ChartEntry.RangeBar
To customize the animation and chart style :
Chart(chartListData = getMockRangeList(),
animationType = AnimationType.Bouncy(10F),
chartStyle = ChartStyle.BarChartStyle(
chartBrush = listOf(Pink40, Purple80),
barCornerRadius = 20F,
chartValueTextColor = Color.Black
)
)
This app is developed using Kotlin and Jetpack Compose.
Contributions to this project are welcome. If you find a bug or would like to suggest a new feature, please open an issue on this repository.
Screenshot |
GIF |
This project is licensed under the MIT License.