MCPcopy Index your code
hub / github.com/AndroidJiang/StockChart

github.com/AndroidJiang/StockChart @3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.0 ↗ · + Follow
2,115 symbols 5,877 edges 205 files 1,156 documented · 55%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

介绍

(此demo已经好几个月没更新,接下来会放个大招,敬请期待)

采用主流rxjava+retrofit+dagger2框架

StockChart包括分时图,k线图等实现,仍在持续更新中,欢迎star

同时也请关注我的博客更新http://blog.csdn.net/qqyanjiang

(注:如果是as2.0+,可能会出现instant run的问题,解决方法到设置里面找到instant run,前面的勾号取消)

放出最终要实现的效果图(来源于自选股app)

来源于自选股app

Thanks

特别感谢外国友人[AymanDF] (https://github.com/AymanDF)对本代码的优化

Extension points exported contracts — how you extend this code

ValueFormatter (Interface)
Interface that allows custom formatting of all values inside the chart before they are being drawn to the screen. Simply [11 …
MPChartLib/src/com/github/mikephil/charting/formatter/ValueFormatter.java
ServiceComponent (Interface)
author:ajiang mail:1025065158@qq.com blog:http://blog.csdn.net/qqyanjiang
app/src/main/java/com/example/yanjiang/stockchart/inject/component/ServiceComponent.java
YAxisValueFormatter (Interface)
Created by Philipp Jahoda on 20/09/15. Custom formatter interface that allows formatting of YAxis labels before they are [11 …
MPChartLib/src/com/github/mikephil/charting/formatter/YAxisValueFormatter.java
ClientApi (Interface)
Created by yanjiang on 2016/3/15. 示例1 @GET("Advertisement") Observable > getWeatherData(@Query("instI
app/src/main/java/com/example/yanjiang/stockchart/api/ClientApi.java
ICandleDataSet (Interface)
Created by philipp on 21/10/15. [4 implementers]
MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/ICandleDataSet.java
DownLoadApi (Interface)
Created by yanjiang on 2016/4/20. 恩恩
app/src/main/java/com/example/yanjiang/stockchart/api/DownLoadApi.java
IPieDataSet (Interface)
Created by Philipp Jahoda on 03/11/15. [4 implementers]
MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IPieDataSet.java
FragmentComponent (Interface)
(no doc)
app/src/main/java/com/example/yanjiang/stockchart/inject/component/FragmentComponent.java

Core symbols most depended-on inside this repo

size
called by 170
MPChartLib/src/com/github/mikephil/charting/buffer/AbstractBuffer.java
getXIndex
called by 131
MPChartLib/src/com/github/mikephil/charting/data/Entry.java
setColor
called by 115
MPChartLib/src/com/github/mikephil/charting/data/BaseDataSet.java
add
called by 111
MPChartLib/src/com/github/mikephil/charting/matrix/Vector3.java
getVal
called by 108
MPChartLib/src/com/github/mikephil/charting/data/Entry.java
convertDpToPixel
called by 99
MPChartLib/src/com/github/mikephil/charting/utils/Utils.java
getColor
called by 60
MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IDataSet.java
getEntryCount
called by 56
MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IDataSet.java

Shape

Method 1,895
Class 169
Interface 33
Enum 18

Languages

Java100%

Modules by API surface

MPChartLib/src/com/github/mikephil/charting/charts/Chart.java99 symbols
MPChartLib/src/com/github/mikephil/charting/charts/BarLineChartBase.java99 symbols
MPChartLib/src/com/github/mikephil/charting/utils/ViewPortHandler.java59 symbols
MPChartLib/src/com/github/mikephil/charting/components/Legend.java55 symbols
MPChartLib/src/com/github/mikephil/charting/charts/PieChart.java49 symbols
MPChartLib/src/com/github/mikephil/charting/data/ChartData.java46 symbols
MPChartLib/src/com/github/mikephil/charting/components/YAxis.java44 symbols
app/src/main/java/com/example/yanjiang/stockchart/rxutils/CommonUtil.java40 symbols
MPChartLib/src/com/github/mikephil/charting/interfaces/datasets/IDataSet.java40 symbols
MPChartLib/src/com/github/mikephil/charting/data/LineDataSet.java35 symbols
MPChartLib/src/com/github/mikephil/charting/components/AxisBase.java35 symbols
MPChartLib/src/com/github/mikephil/charting/utils/Utils.java34 symbols

For agents

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

⬇ download graph artifact