Charts and Graphs is a developer module that provides a unified API for the integration of various charting solutions into Drupal. It's also a base module for the Views Charts module.

To get full list of charting engines and chart types implemented in an installed version, use this code snippet:

$apis = charts_graphs_apis ();
echo '<pre>' . print_r( $apis, TRUE) . '</pre>';  // or use dpm($apis); if you have devel module.
exit();

Comments

Jons’s picture

Version 6.x-2.3. This is now charts_graphs_apis ()

tinflute’s picture

can someone provide a live example of these different types of charts so we can see what they look like?
merci and thank you kindly

gofair’s picture

Very keen to see examples as currently building an Analytics type dashboard and trying to decide which graph APIs to use.
Thanks

ench0’s picture

.. yes, me too. In particular - is there a "bubble" type chart? That is - X,Y,N data showed as circles ("bubbles") which are located at X,Y and are bigger or smaller based on the value of N...

lonester’s picture

I have not heard of the bubble charts you're referring to being available in Drupal. However they are available in Google Docs in such a way that you could embed one into a page: https://developers.google.com/chart/interactive/docs/gallery/motionchart

Google Docs does support scraping data from domains so it should be possible to hack something together to scrape the data on your site, feed it into this Motion chart widget which is then embedded on your page.

The widget was originally developed here: http://www.gapminder.org/. I have no idea I'm afraid what turning this into a Drupal module would entail.