首页>代码>android客户端专业股票k线图>/KChartView-master/kchart/Example/src/main/java/com/github/tifezh/kchart/chart/KChartView.java
package com.github.tifezh.kchart.chart; import android.content.Context; import android.util.AttributeSet; import com.github.tifezh.kchartlib.chart.BaseKChart; import com.github.tifezh.kchartlib.chart.draw.BOLLDraw; import com.github.tifezh.kchartlib.chart.draw.KDJDraw; import com.github.tifezh.kchartlib.chart.draw.MACDDraw; import com.github.tifezh.kchartlib.chart.draw.MainDraw; import com.github.tifezh.kchartlib.chart.draw.RSIDraw; /** * k线图 * Created by tian on 2016/5/20. */ public class KChartView extends BaseKChart { public KChartView(Context context) { this(context, null); } public KChartView(Context context, AttributeSet attrs) { this(context, attrs, 0); } public KChartView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); addChildDraw("MACD", new MACDDraw(getContext())); addChildDraw("KDJ", new KDJDraw(getContext())); addChildDraw("RSI", new RSIDraw(getContext())); addChildDraw("BOLL", new BOLLDraw(getContext())); setMainDraw(new MainDraw(getContext())); } @Override public void onLeftSide() { } @Override public void onRightSide() { } }
最近下载更多
lizeng206 LV1
2022年11月16日
windygzf LV1
2022年1月3日
sianhxyeiangu LV14
2020年6月14日
没骨气的鱼 LV4
2020年6月6日
花花滑滑画画瓜瓜 LV9
2020年1月9日
陈大美女 LV1
2020年1月2日
13964652858 LV1
2019年5月8日
zyl891027 LV1
2019年1月12日
凌乱18181 LV2
2018年12月7日
xinghunbuxiu LV1
2018年11月19日