Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taewan-p/material-android-chart

Simple Material 3 Style Android line chart library
https://github.com/taewan-p/material-android-chart

android android-library chart graph kotlin kotlin-android material material-design material3 materialui

Last synced: 2 months ago
JSON representation

Simple Material 3 Style Android line chart library

Awesome Lists containing this project

README

        

# material-android-chart

Simple Material You(3) style Android line chart library. Inspired by Google Finance widget.




## Supported

- Material 3 style & color override
- Color customization for small section of line graph
- On long-touch label
- Guideline
- Dynamic Axis tick change

## Unsupported (Maybe in the future...)

- Various data types
- Other data in X axis
- Scroll or Zoom

## Try our Sample App

1. Clone our repo
2. Checkout to `main` branch
3. Build the app

## How to use

### By using remote repository

In your app build gradle:

```kts
implementation("app.priceguard:materialchart:0.2.3")
```

Make sure that you have maven central added to the repositories.

```kts
repositories {
mavenCentral()
}
```

### By using submodule

Just add a submodule to your repo where the module should be by using:

```shell
git submodule add -b lib-latest https://github.com/Taewan-P/material-android-chart
```

The lib-latest branch is a subtree of the `main` branch's materialchart module folder, which only contains the data that you need for other projects.

Adding a submodule that tracks the release branch is all you need.