Community Documentation

Charts and Graphs Documentation

Last updated October 29, 2010. Created by irakli on January 11, 2010.
Edited by brenda003, rsevero. Log in to edit this page.

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

To get full list of charting engines and chart types implemented in an installed version:

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

Comments

api name change

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

Jons

any example charts to see?

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

Subscribing.

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

examples?

.. 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...

be happy or die trying

Bubble charts available elsewhere

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.

Page status

About this page

Drupal version
Drupal 6.x
Audience
Programmers

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here