MPAndroidChart3使用详解1:前言

目录

 

1 简介

2 使用

3 支持图表类型


1 简介

MPAndroidChart是基于Android平台的一个比较强大图表库,具有丰富的图表类型。

GitHub项目地址:https://github.com/PhilJay/MPAndroidChart

API文档地址:https://jitpack.io/com/github/PhilJay/MPAndroidChart/v3.0.2/javadoc/

MPAndroidChart3使用详解1:前言

MPAndroidChart3使用详解2:图表控件抽象基类Chart

MPAndroidChart3使用详解3:LineChar(折线图)

MPAndroidChart3使用详解4:BarChart(柱形图)

MPAndroidChart3使用详解5:PieChart(饼状图)

MPAndroidChart3使用详解6:Legend(图例)

MPAndroidChart3使用详解7:RadarChart(雷达图)

MPAndroidChart3使用详解8:RadarChart(雷达图)顶角显示圆点——额外设置一组顶点值数据方案

MPAndroidChart3使用详解9:RadarChart(雷达图)顶角显示圆点——重写RadarChart控件添加顶角圆点绘制方案

2 使用

1. Gradle dependency (recommended)

  • Add the following to your project level build.gradle:
allprojects {
	repositories {
		maven { url "https://jitpack.io" }
	}
}
  • Add this to your app build.gradle:
dependencies {
	implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
}

2. Maven

  • Add the following to the <repositories> section of your pom.xml:
<repository>
       <id>jitpack.io</id>
       <url>https://jitpack.io</url>
</repository>
  • Add the following to the <dependencies> section of your pom.xml:
<dependency>
       <groupId>com.github.PhilJay</groupId>
       <artifactId>MPAndroidChart</artifactId>
       <version>v3.0.3</version>
</dependency>

3. clone whole repository (not recommended)

3 支持图表类型

  • 10
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Homilier

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值