/PlotWizard

Android Jetpack compose based Charts Library

Primary LanguageKotlinMIT LicenseMIT

PlotWizard

This is a simple chats library made with Jetpack compose

Features

  • Line Chart
  • Pie Chart
  • Range Chart
  • CircularBar Chart

Todo

  • Column Chart
  • Group Chart
  • Gauge Chart
  • Heap Map
  • Pyramid Chart
  • CandleStick Chart

In Progress

  • Area Chart
  • Add XY blocks to Line and range chart

Done

  • Line Chart
  • Pie Chart
  • CircularBar Chart

Installation

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

Usage

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
    )
)

Development

This app is developed using Kotlin and Jetpack Compose.

Contributing

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.

Current Progress


Screenshot


GIF

License

This project is licensed under the MIT License.