Advertising sustains the DA. Ads are hidden for members. Join today

Charts and Graphs Documentation

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();

Developing Additional Charts_Graphs Implementations

There're several things that a module needs to do, to provide additional implementations to Charts & Graphs module:

Using AmCharts

Note: The amCharts submodule is only tested on Drupal 6.

Using Bluff Charts

Installation

Using OpenFlashCharts

Note: The OpenFlash submodule is only tested on Drupal 6.

Guide maintainers

irakli's picture