Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since Chart module is being end of life, I have ported the module to depend on Google Chart Tools module (which uses the Google Visualisation API). In doing so I had to patch Google Chart Tools to work with the AJAX callbacks done by the blocks (see Issue 1613258)
Comment | File | Size | Author |
---|---|---|---|
google_analytics_reports.chart_.patch | 13.87 KB | grom358 | |
Comments
Comment #1
Plazik CreditAttribution: Plazik commentedWe already have the similar issue #2169159: Migrate from Chart module to Charts where people talk about Charts module https://www.drupal.org/project/charts.
Anyway, I'm planning to build reports in Reports module base on Google Analytics Views module so it will be
easier to add support of Charts or Google Chart Tools modules.
Comment #2
Plazik CreditAttribution: Plazik commented@grom358, please post your patch in issue #2169159: Migrate from Chart module to Charts.
Comment #3
xtfer CreditAttribution: xtfer commentedThis should technically be "google_chart_tools_draw_chart()". I'd be inclined to check if the function exists before calling it, and if not, also try the correctly named version. This protects against breakage when/if that gets fixed.
Closing comma?
Closing comma?
draw_chart() again...
Closing comma?
And another draw_chart().