Giter Site home page Giter Site logo

arthurcsh / hsstockchart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shenjiesuzhou/hsstockchart

0.0 0.0 0.0 3.03 MB

Stock Chart include CandleStickChart,TimeLineChart. 股票走势图,包括 K 线图,分时图,手势缩放,拖动

License: MIT License

Ruby 0.75% Objective-C 0.54% Swift 98.72%

hsstockchart's Introduction

HSStockChart

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

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

Features

  • 支持绘制分时图,五日分时图,K 线图,MA 线指标,交易量柱等。
  • 支持横屏查看。
  • K 线图利用 UIScrollView 达到流畅的滑动查看效果。
  • 使用 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

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.

hsstockchart's People

Contributors

zyphs21 avatar huynguyencong avatar monkeywithacupcake avatar bestswifter avatar tongchunyin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.