Library for generating charts using the Google Charts api
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Classes
Tests
UnitTestingFramework
objective_charts.xcodeproj
.gitignore
LICENSE
MainWindow.xib
README.textile
Test-Info.plist
main.m
objective_charts-Info.plist
objective_charts_Prefix.pch

README.textile

Objective Charts

Objective Charts is a wrapper library for the Google Charts API. While not fully functional (there is a lot you can do with Google’s Charts API), it can do quite a bit. Read the tests for further information on how to use it.

Useage

Just instantiate a GoogleChart object and start adding data, labels, legend, scaling, etc to the chart. Here is a short example:


  #import "GoogleChart.h"
  
  GoogleChart *chart = [[GoogleChart alloc] init];
  chart.width = 320;
  chart.height = 480;
  chart.type = @"Line";
  [chart.data addObject:[NSArray arrayWithObjects:@"1", @"2", @"10", @"100", @"500", nil];
  
  // [chart url] ==> http://chart.apis.google.com/chart?cht=lc&chs=320x480&chd=t:1,2,10,100,400&chds=0,420

License

Objective Charts is released under an MIT-style license. See the ‘LICENSE’ file.