Blog options

How to create beautiful iOS-charts by example


Welcome to an 8-part series on iOS-charts. ios-charts is a charting library by Daniel Cohen Gindi that was inspired by Philip Jahoda's Android charting library named MPAndroidChart.

In this series I'll introduce you to each of the 8 different types of charts you can make using iso-charts. Before we get started we'll need to install cocoa pods and install the iso-charts library. 

Below are the available and upcoming tutorials, if you'd like to request a tutorial, please do so in the comments below.

  1. Line Chart
  2. Bar Chart (upcoming)
  3. Bubble Chart (upcoming)
  4. Candle Stick Chart (upcoming)
  5. Combined Chart
  6. Pie Chart
    • Pie Chart (in progress! example files ready)
  7. Radar Chart (upcoming)
  8. Scatter Chart (upcoming)


This is going to be an on-going effort so please stay tuned for updates to this page.

Installing iOS-charts 

First you'll need to install cocoa pods, I've written a quick guide here.

Next open terminal and navigate to your project directory, here's an example command:

cd ~/Path/To/Folder/Containing/Project

Then you'll initialize your pod:

pod init

Next we'll need to edit our pod file, open your pod file in a programming text-editor and add the following lines inside of your target '{your-project}' do:

platform :ios, '8.0'
pod 'Charts'

save the document and go back to terminal and enter the command:


This will install iOS charts into your project. Make sure you close your project and open the white project file in your projects directory with the extension .xsworkspace.

Finally, go into your Project > Target > Build Phases > Link Binary With Libraries and link the Charts.framework to your project. Your Done!


Add framework