Skip to content

A powerful πŸš€ Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

License

Notifications You must be signed in to change notification settings

Amir-yazdanmanesh/MPAndroidChart-Compose

Β 
Β 

Repository files navigation

MPAndroidChart-Compose

Release API GitHub stars

A powerful & easy to use chart library for Android, updated for modern Android development with Jetpack Compose example app.

Based on the original MPAndroidChart by Philipp Jahoda.

Support This Project

If you find this library useful, please consider giving it a star! Your support helps keep this project alive and motivates continued development and maintenance.

Star this repo

Table of Contents

  1. Support This Project
  2. Quick Start
    1. Gradle Setup
    2. Maven Setup
  3. Documentation
  4. Examples
  5. Questions & Issues
  6. More Examples
  7. License
  8. Credits

Quick Start

Gradle Setup

Add JitPack repository to your settings.gradle or root build.gradle:

dependencyResolutionManagement {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency to your module's build.gradle:

dependencies {
    implementation 'com.github.Amir-yazdanmanesh:MPAndroidChart-Compose:v3.2.1'
}

Maven Setup

<!-- <repositories> section of pom.xml -->
<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<!-- <dependencies> section of pom.xml -->
<dependency>
    <groupId>com.github.Amir-yazdanmanesh</groupId>
    <artifactId>MPAndroidChart-Compose</artifactId>
    <version>v3.2.1</version>
</dependency>

Documentation

See the documentation for examples and general use of MPAndroidChart.

Examples

Check out the example app in the MPChartExample directory. The example app has been rewritten using Jetpack Compose.

Questions & Issues

This repository's issue tracker is for bugs and feature requests.

Please read the documentation first, then ask questions on stackoverflow.com using the mpandroidchart tag.

More Examples

LineChart (with legend, simple design)

alt tag

LineChart (cubic lines)

alt tag

LineChart (gradient fill)

alt tag

BarChart (with legend, simple design)

alt tag

BarChart (grouped DataSets)

alt tag

Horizontal-BarChart

alt tag

Combined-Chart (bar- and linechart in this case)

alt tag

PieChart (with selection)

alt tag

ScatterChart (with squares, triangles, circles, ... and more)

alt tag

CandleStickChart (for financial data)

alt tag

BubbleChart (area covered by bubbles indicates the yValue)

alt tag

RadarChart (spider web chart)

alt tag

License

Copyright 2020 Philipp Jahoda

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Credits

Based on the original MPAndroidChart by Philipp Jahoda.

Special thanks to:

About

A powerful πŸš€ Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 88.3%
  • Kotlin 11.7%