Upgrading to version 2.x

Version 2.0 introduces D3.js-based charts, replacing
the Charts module dependency. This provides better performance and removes
the need for external chart libraries.

What's new in 2.x

  • Native D3.js charts (no Charts module required)
  • Time range filter presets (24h, 7d, 30d, 90d, 180d, 365d)
  • Interactive chart legends (click to toggle series, hover to
    highlight)
  • Improved webform labels with language suffix for multilingual
    sites

Upgrade path from 1.x to 2.x

Step 1: Update to 2.0.x

composer require drupal/webform_statistics:^2.0
  drush updb

Step 2: (Optional) Remove Charts modules if not used
elsewhere

drush pmu charts_highcharts charts
  composer remove drupal/charts drupal/charts_highcharts

Important: The drupal/charts and
drupal/charts_highcharts dependencies are kept in 2.0.x for
backwards compatibility and will be removed in 2.1. Always run drush
updb
after updating to 2.0.x before upgrading to 2.1.

VCS Label
2.0.0-rc3
Release type
Packaged Git sha1
f6b988db161499e0c4ea4bdcbe2d935eee274104
Release files