Latest 1.2.0
Homepage https://github.com/zyphs21/HSStockChart
License MIT
Platforms ios 8.0
Authors

Backers on Open Collective Sponsors on Open Collective iOS 9.0+ Swift 5.0
MIT

HSStockChart 是一个绘制股票分时图、K 线图的库。支持流畅的回弹拖动,长按十字线,捏合放大缩小等功能,主要使用了 CAShapeLayer 来绘图,相比使用 Core Graphics 和重写 drawRect 的方法更高效,占用内存更小。

Features

  • [x] 支持绘制分时图,五日分时图,K 线图,MA 线指标,交易量柱等。
  • [x] 支持横屏查看。
  • [x] K 线图利用 UIScrollView 达到流畅的滑动查看效果。
  • [x] 使用 CAShapeLayer 绘图,内存占用更小,效率更高。

Explain

中文解释

Requirements

  • iOS 9.0+
  • Swift 5

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

HSStockChart is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'HSStockChart'

Author

E-mail: [email protected]
Blog: myhanson.com
Twitter: Hanson,@yuanpingzhang
Instagram: hansonhs21
Facebook: Hanson Zhang

欢迎关注我的公众号:hansontalks

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]










License

HSStockChart is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "HSStockChart",
    "version": "1.2.0",
    "summary": "A Stock Chart include CandleStickChart,TimeLineChart.",
    "homepage": "https://github.com/zyphs21/HSStockChart",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "zyphs21": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zyphs21/HSStockChart.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HSStockChart/**/*.swift",
    "swift_versions": "5.0"
}

Pin It on Pinterest

Share This