Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Yearly evolution doesn't show unique visitos #1464

Closed
anonymous-piwik-user opened this Issue · 6 comments

4 participants

@anonymous-piwik-user

If you ask piwik for visitors evolution, daily, weekly and montly screen show unique visitors, while yearly doesn't.

That happens in the resume with graph widget.

@robocoder

Please check your web server log file. If it says php was unable to allocate memory, then you'll have to increase your max memory_limit (php.ini).

Otherwise, post the error message here, so we can investigate further.

@sgiehl
Collaborator

Seems to be that this is wanted.

https://github.com/piwik/piwik/blob/master/plugins/VisitsSummary/Controller.php:

76          if($view->period != 'year')
77          {
78              $view->urlSparklineNbUniqVisitors     = $this->getUrlSparkline( 'getEvolutionGraph', array('columns' => array('nb_uniq_visitors')));
79              $view->nbUniqVisitors = $dataRow->getColumn('nb_uniq_visitors');
80          }

I guess, it would make sense to display it for day only, 'cause the value is inaccurate for other periods.

@sgiehl
Collaborator

(In [2439]) refs #1464 remove year restriction

@sgiehl
Collaborator

Evolution graph should now be shown in every period.

Should we add a note to the text (if period is not day) explaining that this value is a sum of all daily values?

@mattab
Owner

I think it looks good like this :)

@sgiehl
Collaborator

(In [2448]) refs #1464 if-statement in template no longer required

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.6.4 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.