https://github.com/derekcoder/swiftchartview
A set of chart views written in Swift.
https://github.com/derekcoder/swiftchartview
charts ios-swift swift swiftchartview
Last synced: 10 months ago
JSON representation
A set of chart views written in Swift.
- Host: GitHub
- URL: https://github.com/derekcoder/swiftchartview
- Owner: derekcoder
- License: mit
- Created: 2017-11-01T03:58:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-09T08:48:14.000Z (over 8 years ago)
- Last Synced: 2024-10-28T11:52:16.439Z (over 1 year ago)
- Topics: charts, ios-swift, swift, swiftchartview
- Language: Swift
- Homepage:
- Size: 7.44 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftChartView
[](http://cocoapods.org/pods/SwiftChartView)
[](http://cocoapods.org/pods/SwiftChartView)
[](http://cocoapods.org/pods/SwiftChartView)
A set of chart views written in Swift.

## Features
- [x] Line Chart View
- [x] Bar Chart View
- [x] Scatter Chart View
- [ ] Pie Chart View
## Requirements
- iOS 10.0+
- Swift 4
## Installation
### CocoaPods
```ruby
pod 'SwiftChartView'
```
## Usage
### Programmatically
```swift
import SwiftChartView
let frame = CGRect(x: 0, y: 80, width: 734, height: 240)
let chartView = LineChartView(frame: frame)
view.addSubview(chartView)
chartView.strokeChart(animated: true)
```
### IB (storyboard)
- Set Class

- Change attributes

## Contact
- [Blog](http://blog.derekcoder.com)
- [Twitter](https://twitter.com/derekcoder_)
- [Weibo](https://weibo.com/u/6155322764)
- Email: derekcoder@gmail.com
## License
SwiftChartView is released under the MIT license. [See LICENSE](https://github.com/derekcoder/SwiftChartView/blob/master/LICENSE) for details.