Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

ApexCharts

121 sites Security covered Drupal 10–11 Charts ecosystem
View on drupal.org

This module integrates the ApexCharts library with Drupal's Charts module, allowing you to create interactive and visually appealing charts using a wide variety of chart types. It works with the Charts module's Views integration and API for creating charts programmatically or through entity fields.

This is a module that integrates the ApexCharts library with the Charts module.

"ApexCharts is a modern charting library that helps developers to create beautiful and interactive visualizations for web pages." (ApexCharts website).

The project is open-source (MIT license) and free to use in commercial applications.

Available chart types and features include:

The Charts module allows for combination charts either through Views or the Charts API.

Requirements

This module requires the following modules:

  • Charts (version 5.2.1 or higher)

Recommended modules

If you don't want to use data already in your site, here are a few recommended modules:

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

This module uses Asset Packagist to bring in the ApexCharts library. Before you require the module with Composer, you need to make sure the following exist in your composer.json file:

  1. The Asset Packagist repository is added to the "repositories" section.

    "repositories": [
      {
        "type": "composer",
         "url": "https://packages.drupal.org/8"
       },
       {
         "type": "composer",
         "url": "https://asset-packagist.org"
        }
    ],
    
  2. The "oomphinc/composer-installers-extender" package is installed. This package allows you to install libraries into the "/libraries" directory instead of the default "/vendor" directory.

    composer require --prefer-dist oomphinc/composer-installers-extender
    
  3. The installer types and paths are set in the "extra" section of your composer.json file. This tells Composer to install ApexCharts into the "/libraries/apexcharts" directory.

    "extra": {
      "installer-types": ["npm-asset", "bower-asset"],
      "installer-paths": {
        "web/libraries/{$name}": [
          "type:drupal-library",
          "type:bower-asset",
          "type:npm-asset"
        ]
      }
    }
    

Configuration

  1. Enable the module at Administration > Extend.
  2. Set ApexCharts as your default charting library at /admin/config/content/charts.
  3. Create your chart! There are three ways to create a chart:
    • Create a view and use the "Chart" format
    • Add a "Chart" field to your entity type (e.g. node, user, etc.)
    • Use the Charts API to create a chart programmatically


Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Dec 2024
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 6
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable 10–11 Jun 22, 2026
1.0.2 Stable 10–11 Aug 20, 2025
1.0.1 Stable 10–11 Jun 24, 2025
1.0.0 Stable 10–11 Apr 22, 2025
1.0.0-alpha2 Pre-release 8–11 Jan 19, 2025
1.0.0-alpha1 Pre-release 8–11 Dec 18, 2024
1.0.x-dev Dev 10–11 Dec 16, 2024