MCPcopy
hub / github.com/PhilJay/MPAndroidChart

github.com/PhilJay/MPAndroidChart @v3.1.0 sqlite

repository ↗ · DeepWiki ↗ · release v3.1.0 ↗
2,359 symbols 8,493 edges 220 files 1,120 documented · 47%
README

banner

Release API Android Arsenal Gitter Twitter

:zap: A powerful & easy to use chart library for Android :zap:

Charts is the iOS version of this library

Table of Contents

  1. Quick Start
    1. Gradle
    2. Maven
  2. Documentation
  3. Examples
  4. Questions
  5. Donate
  6. Social Media
  7. More Examples
  8. License
  9. Creators

Realtime Graphing Solution | SciChart

MPAndroidChart is free software, as a result dynamic & realtime data is not officially supported. If you are looking for an enterprise-grade chart solution with extreme realtime performance and tech support, we recommend SciChart Android.

All MPAndroidChart users are entitled to a special discount of 5% off the SciChart store, using the following discount code: MPANDROIDCHART

Daily Coding Newsletter

Sign up for my daily coding newsletter to get quick updates on Kotlin and Android development related topics.

Quick Start :chart_with_upwards_trend:

Add the library to your Android project, then check out the examples below!

Gradle Setup

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

dependencies {
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0-alpha'
}

Maven Setup


<repository>
    <id>jitpack.io</id>
   <url>https://jitpack.io</url>
</repository>


<dependency>
    <groupId>com.github.PhilJay</groupId>
    <artifactId>MPAndroidChart</artifactId>
    <version>v3.1.0-alpha</version>
</dependency>

Documentation :notebook_with_decorative_cover:

See the documentation for examples and general use of MPAndroidChart.

See the javadocs for more advanced documentation.

Examples :eyes:

Download the MPAndroidChart Example App or look at the source code.

ScreenShot

Questions & Issues :thinking:

This repository's issue tracker is only for bugs and feature requests. The maintainers ask that you refrain from asking questions about how to use MPAndroidChart through the issue tracker.

Please read the documentation first, then ask all your questions on stackoverflow.com for the fastest answer.

Donations :heart:

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

My Bitcoin Wallet (Bitcoin only)

1G8G6tqQ3oh38BvDH3xq8o6gGVMvBTkcUg

My Ethereum Wallet (Ethereum only)

0x04ef098bf9f91871391363e3caf791afa3adc39b

Lightning Network (tippin.me)

PayPal

  • Donate 5 $: Thank's for creating this project, here's a coffee (or some beer) for you!
  • Donate 10 $: Wow, I am stunned. Let me take you to the movies!
  • Donate 15 $: I really appreciate your work, let's grab some lunch!
  • Donate 25 $: That's some awesome stuff you did right there, dinner is on me!
  • Or you can also choose what you want to donate, all donations are awesome!

Social Media :fire:

If you like this library, please tell others about it :two_hearts: :two_hearts:

Share on Twitter Share on Google+ Share on Facebook

You can follow me on Twitter @PhilippJahoda or sign up for my daily coding newsletter.

More Examples :+1:

LineChart (with legend, simple design)

alt tag

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 :page_facing_up:

Copyright 2018 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.

Special Thanks :heart:

These people rock!

Extension points exported contracts — how you extend this code

IHighlighter (Interface)
Created by philipp on 10/06/16. [7 implementers]
MPChartLib/src/main/java/com/github/mikephil/charting/highlight/IHighlighter.java
IShapeRenderer (Interface)
Created by wajdic on 15/06/2016. Created at Time 09:07 [16 implementers]
MPChartLib/src/main/java/com/github/mikephil/charting/renderer/scatter/IShapeRenderer.java
OnChartValueSelectedListener (Interface)
Listener for callbacks when selecting values inside the chart by touch-gesture. @author Philipp Jahoda [32 implementers]
MPChartLib/src/main/java/com/github/mikephil/charting/listener/OnChartValueSelectedListener.java
IFillFormatter (Interface)
Interface for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works [7 …
MPChartLib/src/main/java/com/github/mikephil/charting/formatter/IFillFormatter.java
IAxisValueFormatter (Interface)
Created by Philipp Jahoda on 20/09/15. Custom formatter interface that allows formatting of axis labels before they are [18 …
MPChartLib/src/main/java/com/github/mikephil/charting/formatter/IAxisValueFormatter.java

Core symbols most depended-on inside this repo

add
called by 274
MPChartLib/src/main/java/com/github/mikephil/charting/matrix/Vector3.java
getData
called by 214
MPChartLib/src/main/java/com/github/mikephil/charting/interfaces/dataprovider/ChartInterface.java
get
called by 165
MPChartLib/src/main/java/com/github/mikephil/charting/utils/ObjectPool.java
getY
called by 163
MPChartLib/src/main/java/com/github/mikephil/charting/data/BarEntry.java
getX
called by 154
MPChartLib/src/main/java/com/github/mikephil/charting/data/Entry.java
setColor
called by 142
MPChartLib/src/main/java/com/github/mikephil/charting/data/BaseDataSet.java
convertDpToPixel
called by 125
MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java
size
called by 106
MPChartLib/src/main/java/com/github/mikephil/charting/buffer/AbstractBuffer.java

Shape

Method 2,106
Class 208
Interface 30
Enum 15

Languages

Java100%

Modules by API surface

MPChartLib/src/main/java/com/github/mikephil/charting/charts/BarLineChartBase.java105 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/charts/Chart.java101 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/utils/ViewPortHandler.java62 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/components/AxisBase.java62 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/charts/PieChart.java58 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/interfaces/datasets/IDataSet.java53 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/data/BaseDataSet.java53 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/components/Legend.java50 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/data/ChartData.java38 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/components/YAxis.java35 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/data/LineDataSet.java34 symbols
MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java31 symbols

Dependencies from manifests, versioned

com.google.android:android

For agents

$ claude mcp add MPAndroidChart \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact