Latest 0.3.1
License MIT
Platforms ios 8.0, requires ARC
Frameworks CoreGraphics, Foundation, UIKit, QuartzCore
Authors ,


A simple yet beautifully animated chart library, used in Spreaker for iPhone app.
It is a fork of PNChart with a much cleaner and uniform code and more nice features built-in.

In the repository, there is a demo app you can use to see and test specific customizations you would like you have. Have fun with it!

If you found a bug or have a feature request, please open an issue.
If you want to contribute, submit a pull request.

Main Features

  • Every chart will draw itself with a nice animation.

  • Touch events are propagated to a delegate object. See SPChartDelegate for more details.

  • Tons of customizations possibles (colors, fonts, visibility of chart axis and labels).

  • If a chart is empty, an custom text message is automatically displayed over the chart.

Plus, in the pie chart:

  • highlight a specific piece of the pie

There is also some nice accessories:

  • SPChartPopup, a popup view that you can use to show any custom information once user select a specific point/bar in the chart.


There are only 3 types of chart available: lines, bars and pie.

All charts works with NSInteger positive values.


SPChart requires iOS 6 and ARC. It depends on the following Apple frameworks, which probably are already included in your Xcode project:

  • CoreGraphics.framework
  • Foundation.framework
  • QuartzCore.framework
  • UIKit.framework



CocoaPods is the recommended way to add SPChart to your project.
It is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like SPChart in your projects.

All you have to do is

  1. Add a pod entry for SPChart to your Podfile pod 'SPChart'
  2. Install pod(s) by running pod install.
  3. Add #import <SPChart/SPChart.h> wherever you need to use one of the supported charts.

Copy the SPChart folder to your project

and remember to link the required frameworks in your project targets.


There is a nice demo app in the Example folder.

Each chart has a well documented header file. Please refer to them to understand how to customize them.


SPChart is a fork of PNChart library, created by kevinzhow. Kudos to you, Kevin!

Also, a big thanks goes to all SPChart’s contributors.


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

Latest podspec

    "name": "SPChart",
    "version": "0.3.1",
    "summary": "A simple, animated and beatiful chart library used in Spreaker for iPhone app.",
    "homepage": "",
    "authors": {
        "Alessandro Calzavara": "[email protected]",
        "Tomasz Muszyu0144ski": "[email protected]"
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "0.3.1"
    "source_files": "SPChart/**/*.{h,m}",
    "public_header_files": "SPChart/**/*.h",
    "frameworks": [
    "requires_arc": true

Pin It on Pinterest

Share This