Open Flash Charts 2 / Piwik API

Hello,

as this is my first post I first want to demonstrate my respect for the piwik project. I’m now using it instead of Google Analytics and I’m glad about depriving Google a bit of its power. Also I will write a module for “CMS made simple” soon.

During my tryings to publish some of the charts on my website using Open Flash Charts 2 and the Piwik API, I recognized that the API gives an absolute different reponse from the one the Piwik Module gives. Even a different notation, that OFC2 doesn’t accept… Why?

Use the API to retrieve raw data. In constrast, the OFC data stream, while JSON formatted, contains extra bits of information that are specific to rendering the chart.