Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some charts are not displayed #2555

Closed
julienmoumne opened this issue Jul 9, 2011 · 5 comments
Closed

Some charts are not displayed #2555

julienmoumne opened this issue Jul 9, 2011 · 5 comments
Labels

Comments

@julienmoumne
Copy link
Member

For "Visits by server time" and "Visits by local time", charts are not displayed, only the legend is. Touching the magnifying icon exhibit the same behavior (no chart, only legends).

Beneath the legend, I can see data for two server times (and two local times).

When there is no data at all, "No data for this graph" is displayed correctly.

This bug is reproducible on my personal web page but not on demo.piwik.org.

Could this be because some local times do not have visits on my piwik instance ?

Other reports work fine.

Platform: android 2.3.4 Nexus S
Version: 1.5.0 - 1.8.0 7b0c27
Available memory: 3428976
Resolution: 480x800 high (240)
Locale: en-US
Network: WIFI
@tsteur
Copy link
Member

tsteur commented Jul 10, 2011

I'll have a look at it, but I'll not invest a lot of time. I think the bug will no longer exist as soon as we integrate the new graphs (rendered on the piwik instance). Maybe you can send me a sample output per email?

A request for such a graph looks like:
http://demo.piwik.org/index.php?idSite=7&period=day&filter_truncate=4&filter_sort_order=nb_visits&apiModule=VisitTime&apiAction=getVisitInformationPerLocalTime&date=2011-7-10&module=API&format=json&method=API.getProcessedReport&language=en&&token_auth=TOKENAUTH

@julienmoumne
Copy link
Member Author

The result of

http://x/index.php?idSite=1&period=week&apiModule=VisitTime&apiAction=getVisitInformationPerLocalTime&date=2011-7-09&module=API&format=json&method=API.getProcessedReport&language=en&&token_auth=x&filter_truncate=4&filter_sort_order=nb_visits

is

"reportData":[{"label":"0h","nb_visits":0,"nb_actions":0,"nb_actions_per_visit":0,"avg_time_on_site":"00:00:00","bounce_rate":"0%","conversion_rate":"0%"},{"label":"1h","nb_visits":0,"nb_actions":0,"nb_actions_per_visit":0,"avg_time_on_site":"00:00:00","bounce_rate":"0%","conversion_rate":"0%"},{"label":"2h","nb_visits":0,"nb_actions":0,"nb_actions_per_visit":0,"avg_time_on_site":"00:00:00","bounce_rate":"0%","conversion_rate":"0%"},{"label":"3h","nb_visits":0,"nb_actions":0,"nb_actions_per_visit":0,"avg_time_on_site":"00:00:00","bounce_rate":"0%","conversion_rate":"0%"},{"label":"Others","nb_visits":1,"nb_actions":1,"nb_actions_per_visit":1,"avg_time_on_site":"00:00:00","bounce_rate":"100%","conversion_rate":"0%"}]

Stats for "Others" are correct but no graph is being displayed at all, only the legend (ie. 0h 1h 2h 3h Others) is shown.

@tsteur
Copy link
Member

tsteur commented Jul 15, 2011

(In [5020]) fixes #2555 fixes some charts are not displayed, thanks to julienM

@julienmoumne
Copy link
Member Author

You may have committed test code in http://dev.piwik.org/trac/browser/mobile/trunk/Resources/library/Piwik/Network/StatisticsRequest.js?rev=5020#L415

Just saw it's fixed on trunk. Please discard my comment.

@tsteur
Copy link
Member

tsteur commented Jul 18, 2011

@julienmoumne julienmoumne added this to the Piwik Mobile Client milestone Jul 8, 2014
@tsteur tsteur added this to the Piwik Mobile 1 milestone Jul 25, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants