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.
Hi,
The google Chart is not showing right, any Idea what is going on?
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#10 | Google_Analytics_Summary.jpg | 39.65 KB | osopolar |
#10 | google_analytics_reports_summary.txt | 42.6 KB | osopolar |
#9 | gar_revent_view.png | 7.66 KB | Plazik |
#8 | Google_Analytics_Summary.jpg | 48.86 KB | osopolar |
#6 | GA-Reports_Summary_vs_GA_Online.jpg | 70.06 KB | osopolar |
Comments
Comment #2
Plazik CreditAttribution: Plazik as a volunteer commentedHi.
Are you using custom theme?
Could you swith to Bartik or Seven themes and test it?
Comment #3
El Alemaño CreditAttribution: El Alemaño commentedI try with Seven Theme and nothing change.
Comment #4
Plazik CreditAttribution: Plazik as a volunteer commentedIs this report from module or custom made?
Which browser are you using? Could you try another?
Comment #5
El Alemaño CreditAttribution: El Alemaño commentedI am using the view from module, I didn't change anything. I already try 3 different Browsers (Chrome, FF and Safari) and nothing change...
Comment #6
osopolarThe same for me. I also use admin theme Seven but also tested in Bartik with same result. The chart is also very different to the one from google analytics, see attached screenshot (both are summary for the last 30 days):
Comment #7
Plazik CreditAttribution: Plazik as a volunteer commentedosopolar, did you check the correct profile on
admin/config/system/google-analytics-reports-api
page?El Alemaño, osopolar, could you test it with Highcharts instead of Google Charts?
Comment #8
osopolarI double checked the Reports profile, its the one I want to show. Similar results for Highcharts
The error is already in in the data passed by the data-chart attribute.
Comment #9
Plazik CreditAttribution: Plazik as a volunteer commented@osopolar, have you select the correct profile on
admin/config/system/google-analytics-reports-api
page?Could you open
admin/structure/views/view/google_analytics_reports_summary/edit/page
page and pressrevert view
?If this does not work could you open
admin/structure/views/view/google_analytics_reports_summary/edit/attachment_chart
page and change Format from Charts to Table? Do you see the correct values of pageviews and sessions?Comment #10
osopolarI now have triple checked the use of the correct profile, updated Google Analytics Reports from 7.x-3.0-beta2+24-dev (2016-01-25) to 7.x-3.0. the charts module version is 7.x-2.0-rc1+5-dev (2015-02-13).
There was no revert view link in first place, so the view was in its default state.
Changing to the table format shows the correct table with columns for date, sessions and pageviews. I switched back to the charts format and found, that the lower values in the chart are the sessions and the higher values are the page views. It seems that aggregation does not work.
The README.txt has suggestions for "Creating Multiple Series and Combo Charts in the UI". I followed that instructions and created a "Chart Add-on" with Pageviews for the Chart display (where I removed Pageviews). I attached the Views export, as a patch would have to much changes because the views export looks different to the one in google_analytics_reports.views_default.inc where t() functions are inline (do you manually edit the views export?). The result looks like:
Comment #11
osopolarIt seems that this is a charts bug, I created an issue there: #2696519: Views: Charts with multiple data fields aren't rendered as expected.. I think this issue could be closed as duplicate.
@Plazik: I guess you aren't using the latest dev version of charts (7.x-2.0-rc1+5-dev from 2015-02-13).
Comment #12
Plazik CreditAttribution: Plazik as a volunteer commentedYes, I do. Еhis is necessary for translations.
Yes, I've tested on charts 7.x-2.0-rc1. This version forks fine.
So, it's Charts module bug #2696519: Views: Charts with multiple data fields aren't rendered as expected.. I've closed it.