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
Sparklines dont work in dashboard #3483
Comments
Thanks for the report & patch dfsdfsdfsdf capedfuzz please try reproduce (I couldn't) or apply change after double checking. Thx! |
Another "patch" for VisitFrequency plugin - now all sparklines in my dashboard work well. [https://github.com/piwik/piwik/blob/master/plugins/VisitFrequency/Controller.php#L80]
PS: IMHO, the problem is not in these plugins because there are many getUrlSparkline() calls in other places, w/o 'idSite' and 'period' set, and in these places sparklines work as they should. Anyway, these "patches" are good temporary solution. |
That fixed all sparklines in dashboard. Thanks, SteveG. |
(In [7324]) Refs #3483 would be nice to include all recent fixes in a new clean release! |
actually this is just a half fix. when the dashboard is used as an iframe or through API the sparkline fail |
Sparklines work fine for me within embedded dashboard. Are other sparklines working on your installation? |
@p_nuts see this ticket #3915 |
After I've updated from 1.9 to 1.9.1, sparklines stopped working in dashboard. Everywhere else sparklines work fine.
Incorrect URLs are generated by dashboard widgets (idSite and period parameters are missing): viewDataTable=sparkline&action=getEvolutionGraph&module=VisitsSummary&columns=nb_visits,nb_uniq_visitors&date=2012-09-27,2012-10-26), it returns this:
I have changed method setSparklinesAndNumbers() in [https://github.com/piwik/piwik/blob/master/plugins/VisitsSummary/Controller.php#L110] and it fixed the problem for VisitsSummary plugin:
The text was updated successfully, but these errors were encountered: