Skip to content

Taewan-P/material-android-chart

Repository files navigation

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:

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

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

repositories {
    mavenCentral()
}

By using submodule

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

git submodule add -b lib-latest https://github.com/Taewan-P/material-android-chart <your_module_folder_location>

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.