As part of the module maintainer discussion it was brought up to migrate to the Charts module, less someone is forced to maintain Commerce Reports and Visualization.

This patch updates the module to no longer need Visualization and utilize Charts. Right now the implementation of Charts is solely based on Google Charts with no support for Highcharts (since it's an external library and this is a fast start to the solution.)

See https://drupal.org/node/2124577 to patch module's JavaScript to fix chart section toggles. The JavaScript patch is separated because work has to be made with Charts module to allow charts to be rebuilt if needed.

Overview:

  • commerce_reports.blocks.inc removed commerce_reports_customer_map() and replaced with view that provides two world map displays, one for billing profiles and one for shipping profiles.
  • commerce_reports.module defines geomap chart type, redefines customer map block.
  • commerce_reports.views_default.inc all new views using Charts :)
CommentFileSizeAuthor
visualizaton_to_charts_migration.patch69.54 KBmglaman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman’s picture

Issue summary: View changes
mglaman’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Status: Active » Fixed

Please review the 7.x-4.x release which adds this feature, and note module changes as stated in #2129735: Commerce Reports 4.x Review

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.