Latest 1.0.2
Homepage https://github.com/liyongfei12138/QCLineView
License MIT
Platforms ios 10.0
Authors

CI Status
Version
License
Platform

Requirements

“`需要导入头文件QCStockLineView.h,这个就是k线图的view。
使用 -(instancetype)instanceViewWithSize:(CGSize)size 方法初始化这里传入的size就是k线图的大小,建议高度设置为300
使用 -(void)reloadData:(NSArray *)data 方法传入数据,建议传入30天的数据
/**

  • 数组中包括k线图的锚点
  • @param data 锚点数据
  • high 最高价
  • open 开盘价
  • low 最低价
  • close 收盘价
  • date 时间
  • ma5 5天平均值
  • ma10 10天平均值
  • ma20 20天平均值
  • volume 成交量
    */

Installation

it, simply add the following line to your Podfile:

pod 'QCLineView'

Author

liyongfei12138,[email protected]

Latest podspec

{
    "name": "QCLineView",
    "version": "1.0.2",
    "summary": "kxian",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/liyongfei12138/QCLineView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "liyongfei12138": "[email protected]"
    },
    "source": {
        "git": "https://github.com/liyongfei12138/QCLineView.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "QCLineView/Classes/**/*"
}

Pin It on Pinterest

Share This