Ticket #804 (new New feature)
Non-Flash Charting & Tables
| Reported by: | vipsoft | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Features requests - after Piwik 1.0 |
| Component: | UI (templates, javascript) | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by vipsoft) (diff)
Client-side:
In #760, there is a proof-of-concept example using JavaScript libraries to present a non-Flash line chart and table based on HTML tables retrieved via Piwik's API.
We should flesh this out more as this feature would provide:
- an alternate method of embedding graphs & tables (i.e., not using iframes)
- a lighter-weight presentation method for mobile clients
- a potential fallback method where the browser doesn't support Flash or an older version of the player is detected (#545)
Things to consider:
- state of the art: HTML tables vs JSON?
- a server-side filter to prevent sending more data than can be displayed given browser's limited resolution; filter could either sample or smooth data
- how to translate column labels?
- excanvas drawing (via VML?) is slow on IE and doesn't support hover events
- flot library is popular but doesn't have built-in support for pie charts; there are numerous unofficial patches floating around though...
Server-side:
- JpGraph
- pchart.sourceforge.net
- google chart API
Change History
Note: See
TracTickets for help on using
tickets.
