@anonymous-piwik-user opened this issue on September 17th 2009

The sparklines no longer update the flash chart. I'm not sure what the return type of findSWFGraph is supposed to be, but alert() says it's HTMLObjectElement.

Firebug error is: piwikHelper.findSWFGraph(graph.attr("graphId") + "Chart_swf").reload is not a funciton.

I've tried unloading firebug and other addons to make sure it wasn't related to addons changing the javascript functionality. Keywords: sparklines, reload, findSWFGraph

@robocoder commented on September 17th 2009

What Piwik version? What third party plugins? Any local customizations?

@anonymous-piwik-user commented on September 17th 2009

It happens on the piwik demo.

http://piwik.org/demo/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#module=VisitsSummary&action=index&idSite=1&period=day&date=yesterday

@robocoder commented on September 17th 2009

Odd. It works for me using FF3.0.x on the demo site.

@robocoder commented on September 17th 2009

Can you try deleting your browser cache? (Flash player reportedly also has a cache.) There was a bug in an older version of Open Flash Chart (V2J) that was fixed in V2K.

@robocoder commented on September 19th 2009

No feedback received.

@anonymous-piwik-user commented on September 21st 2009

It works for me too in FF 3.0, only in 3.5 does it fail.

I have tracked this down to a strange interaction with some firefox extensions and 3.5. On sites which use an embeded "embed" tag under the object tag which loads the flash, this bug is not reproducible. Only on sites which use pure "object" tags to load flash.

Although technically not a piwik bug, I imagine that a large number of piwik users use Firefox, and will upgrade to 3.5 at some point. I guess this could remain closed and the solution is, don't use Firefox with add-ons installed. If more users start noticing this, adding an "embed" tag might patch the upstream bug.

@robocoder commented on September 21st 2009

The HTMLObjectElement returned by findSWFGraph() is the expected return type. 'reload' is a function exported by open-flash-chart.swf.

We probably won't add an "embed" hack. We use swfobject which generates standards compliant tags for browsers that support it. We'll revisit this when we update jquery -- it's one of the UI regression tests.

This issue was closed on September 21st 2009
Powered by GitHub Issue Mirror