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 :)
Comment | File | Size | Author |
---|---|---|---|
visualizaton_to_charts_migration.patch | 69.54 KB | mglaman | |
Comments
Comment #1
mglamanComment #2
mglamanPlease review the 7.x-4.x release which adds this feature, and note module changes as stated in #2129735: Commerce Reports 4.x Review