Add icon "save as image PNG" below all graphs #624
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone
When we update to OFC v2 (see #5742) there is a new feature that we will want to use: export the graph as PNG.
Below evolution graph we could show the export as image icon behind the + icon.
Below all other tables, when the data is shown as a graph (pie and bar), we could add a new icon behind the + that would save the graph as an image.
We have two options as to how the graph is generated:
- either server side
- locally on the user’s browser
I’m not sure if we choose one option and leave the user to decide. What are the use cases for this? Would users download the graph to paste in their word document or report, or would they use the graph to include on their webpage?
In the case we generate graph on the server side and save it, for example, in tmp/graphs/ problem could arise if the user includes the graph <img src=piwik/tmp/graphs/X.png"> and then delete the tmp folder, all graphs would be broken.
It seems safer to force the user to download the graphs on their computer and do their own choice (reupload it if necessary?).
The text was updated successfully, but these errors were encountered: