Skip to content

基于MPAndroidChart的专业股票图,如分时图和K线图KLine。

License

Notifications You must be signed in to change notification settings

Alembertcn/StockChart-MPAndroidChart

 
 

Repository files navigation

StockChart-MPAndroidChart

基于MPAndroidChart 最新3.1.0版本的专业分时图和K线图

先上效果图:

Alt text

Alt text

Alt text

Alt text

快速开始

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
 implementation 'com.github.LambdaXiao:StockChart-MPAndroidChart:1.1'

如果需要根据不同业务修改代码,请直接依赖项目中的MPChartLib库。

简介

StockApp是Android平台的金融图表库,包括分时图K线图。本项目通过继承的方式定制了最新版本的MPAndroidChart

  • 使用简单,几行代码就可以实现专业分时K线图效果
  • 支持五日的分时图
  • 支持MACD、KDJ、RSI、SAR、BOLL、CCI、MA、SMA、EXPMA、KMA等指标的显示和切换
  • 支持图表的缩放,可以进行放大和缩小操作
  • 支持刻度值画在图表内侧和外侧,可自由定制
  • 横屏模式的展示
  • 分时图增加最近一点的数值闪动显示并在右侧画出最新价数值
  • 支持夜间模式的展示

apk体验

点击下载 http://d.6short.com/StockChart

或扫码下载

Alt text

反馈

本Demo根据以往从事股票类App开发经验实现通用画图模块,因为当初也是为了快速实现功能,bug在所难免,后面会持续更新,欢迎各位提issues和star! 也希望志同道合者能来一起完善该项目。

联系方式

email: [email protected]

QQ: 932599583

Android股票画图交流群: 322672046

Licenses

MIT License

Copyright (c) 2019 Lambda Xiao

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

基于MPAndroidChart的专业股票图,如分时图和K线图KLine。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.8%
  • Kotlin 7.2%