iPhone Opensource Core Plot Framework

July 1, 2009 § 1 Comment

Apple SDK doesn’t come with any Graph framework. Core-plot is one of the rare opensource plotting framework for iphone. It provides 2D visualization of data, and is tightly integrated with Apple technologies like Core Animation, Core Data, and Cocoa Bindings.

Core Plot is based on Core Animation. You have to add QuartzCore framework to Xcode project.

A detail tutorial on how to integrate Core Plot framework to your Xcode project is here.

Add this line to the porject:
#import “CorePlot-CocoaTouch.h”

First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application’s Xcode project (making sure that nothing’s copied and the paths are relative to your project). Then go to the Targets tab in Xcode, select your application’s target, and bring up the inspector. Go to the General settings page and add the CorePlot-CocoaTouch library as a direct dependency.

Core Plot is built as a static library for iPhone, so you’ll need to drag the libCorePlot-CocoaTouch.a static library from under the CorePlot-CocoaTouch.xcodeproj group to your target’s Link Binary With Libraries folder.

You’ll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add -ObjC to Other Linker Flags as well.

Google Plot API
Weight Diary Plot framework


§ One Response to iPhone Opensource Core Plot Framework

  • dharma says:

    Hi guys,
    i follow above procedure.but i have error for no such a file or directory.when i include hrader file as #Import “CorePlot-CocoaTouch.h”.

    Anybody have idea……….??????????????

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

What’s this?

You are currently reading iPhone Opensource Core Plot Framework at Web Builders.


%d bloggers like this: