Graphing With Google Charts API

  • I am writing an application that could seriously benefit from a good
    graphing API. Of course, the simplest solution to this would be if
    Apple opened up GraphKit for Cocoa developers. Sadly, that seems not
    to be in the near future, so I'm looking at alternatives.

    While there are some graphing frameworks out there, most of them seem
    incomplete and/or without a great deal of ongoing development. So, my
    thought was that Google's relatively new Charts API would be a great
    way to plug this hole for the time being. Simple URL calls return PNG
    images that could then be cached.

    Other than the obvious need for an internet connection, can anyone see
    any reason this can't work as a viable solution to the graphing
    problem in Cocoa?

    For reference, here is Google's Charts API page: http://code.google.com/apis/chart/

    Jamie
  • I looked into this before. While Google's API is pretty good, it takes
    a bunch of work to customize charts and graphs just the way you want.
    I believe there's also a limit on the number of charts a given user
    can generate, although I can't recall what this number is. After
    playing with all the available options (there aren't many) I chose
    David Addalsteinsson's  DataGraph application/framework.

    His tools are very powerful for 2D graphs and  have a boat-load of
    pretty neat features that you'll never get with the Google API
    (cropping, saving, adding points, live data graphing, etc). He has a
    new open-source license and a commercial one for a pretty modest
    price. The biggest advantage is the developer himself; he seems
    extremely eager to add features that user's request and help with
    questions. The biggest disadvantage is it's size, which weighs in
    somewhere around 18mb. Check this out: http://www.visualdatatools.com/DataGraph/

    Ben

    On May 31, 2008, at 1:29 PM, Jamie Phelps wrote:

    > I am writing an application that could seriously benefit from a good
    > graphing API. Of course, the simplest solution to this would be if
    > Apple opened up GraphKit for Cocoa developers. Sadly, that seems not
    > to be in the near future, so I'm looking at alternatives.
    >
    > While there are some graphing frameworks out there, most of them
    > seem incomplete and/or without a great deal of ongoing development.
    > So, my thought was that Google's relatively new Charts API would be
    > a great way to plug this hole for the time being. Simple URL calls
    > return PNG images that could then be cached.
    >
    > Other than the obvious need for an internet connection, can anyone
    > see any reason this can't work as a viable solution to the graphing
    > problem in Cocoa?
    >
    > For reference, here is Google's Charts API page: http://code.google.com/apis/chart/
    >
    > Jamie
  • I'm don't know about open source, but I agree that currently DataGraph
    is the best bet, and it is what I'm using for a couple of scientific
    projects.  GC compatible too.
    Rob

    On 1-Jun-08, at 7:20 AM, Ben Einstein wrote:

    > I looked into this before. While Google's API is pretty good, it
    > takes a bunch of work to customize charts and graphs just the way
    > you want. I believe there's also a limit on the number of charts a
    > given user can generate, although I can't recall what this number
    > is. After playing with all the available options (there aren't many)
    > I chose David Addalsteinsson's  DataGraph application/framework.
    >
    > His tools are very powerful for 2D graphs and  have a boat-load of
    > pretty neat features that you'll never get with the Google API
    > (cropping, saving, adding points, live data graphing, etc). He has a
    > new open-source license and a commercial one for a pretty modest
    > price. The biggest advantage is the developer himself; he seems
    > extremely eager to add features that user's request and help with
    > questions. The biggest disadvantage is it's size, which weighs in
    > somewhere around 18mb. Check this out: http://www.visualdatatools.com/DataGraph/
    >
    > Ben
    >
    >
    > On May 31, 2008, at 1:29 PM, Jamie Phelps wrote:
    >
    >> I am writing an application that could seriously benefit from a
    >> good graphing API. Of course, the simplest solution to this would
    >> be if Apple opened up GraphKit for Cocoa developers. Sadly, that
    >> seems not to be in the near future, so I'm looking at alternatives.
    >>
    >> While there are some graphing frameworks out there, most of them
    >> seem incomplete and/or without a great deal of ongoing development.
    >> So, my thought was that Google's relatively new Charts API would be
    >> a great way to plug this hole for the time being. Simple URL calls
    >> return PNG images that could then be cached.
    >>
    >> Other than the obvious need for an internet connection, can anyone
    >> see any reason this can't work as a viable solution to the graphing
    >> problem in Cocoa?
    >>
    >> For reference, here is Google's Charts API page: http://code.google.com/apis/chart/
    >>
    >> Jamie

previous month may 2008 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Go to today