I’ve found a bug in the chart generation code. Users were having trouble viewing graphs in widgets. I believe I’ve tracked it down but could be wrong since I’m not that familiar with Piwik’s code.
line 104: $idSite = Piwik_Common::getRequestVar(‘idSite’, 1);
Correct me if I’m wrong but it looks like if a user doesn’t have access to site 1 they won’t get charts inline.
This only effects inline charts. If serve_widget_and_data = 0 charts work fine.