Latest 0.8.0
Homepage https://github.com/derekcoder/SwiftChartView
License MIT
Platforms ios 10.0
Authors

Version
License
Platform

A set of chart views written in Swift.

SwiftChartView SwiftChartView

SwiftChartView

Features

  • [x] Line Chart View
  • [x] Bar Chart View
  • [x] Scatter Chart View
  • [ ] Pie Chart View

Requirements

  • iOS 10.0+
  • Swift 4

Installation

CocoaPods

pod 'SwiftChartView'

Usage

Programmatically

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

    SwiftChartView

  • Change attributes
    SwiftChartView

Contact

License

SwiftChartView is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "SwiftChartView",
    "version": "0.8.0",
    "summary": "A set of chart views written in Swift.",
    "description": "A set of chart views written in Swift. It's simple and elegant.",
    "homepage": "https://github.com/derekcoder/SwiftChartView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "derekcoder": "[email protected]"
    },
    "source": {
        "git": "https://github.com/derekcoder/SwiftChartView.git",
        "tag": "0.8.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": [
        "SwiftChartView/Sources/*.swift",
        "SwiftChartView/SwiftChartView.h"
    ],
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This