Using the Charts API

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

The Charts module can be used as a developer module that provides a unified API for the integration of various charting solutions into Drupal.

Overview

Overview of Charts API

Charts API Hooks

Below is a list of hooks available in the Charts module as of version 7.x-2.x,.

Charts API - 7.x-2.x and above

The examples below can only be used in a site using a version of the Charts module that is version 7.x-2.x or above.

Charts API - Prior Releases

The examples below can only be used in a site using a version of the Charts module that is a version prior to 7.x-2.x. Trying to use them

Charts API Array Structure - Prior releases

The Charts API structure depends on the version of the charts module being used. Starting from version 7.x-2.x, charts uses a new structure,

Guide maintainers

lathamcd's picture