Opened 7 years ago

Closed 7 years ago

#7050 closed enhancement (implemented)

metrics graphs in vector format

Reported by: zwol Owned by: karsten
Priority: Medium Milestone:
Component: Metrics/Website Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It would be nice if it were possible to download PDF and/or SVG versions of the graphs from the metrics website. R has generic support for this, all you need to do is add PDF and/or SVG options to the "resolution" dropdowns, map those to URLs with the appropriate file extension (https://metrics.torproject.org/direct-users.pdf?... for instance) and map those to calls to the existing R scripting. ggsave()  will do the rest.

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by karsten

Owner: set to karsten
Status: newaccepted

I like the idea. I tried implementing this in metrics-web for an hour, but ran into a NullPointerException that I didn't have the time to hunt down. I'll have another look. Assigning to myself.

comment:2 Changed 7 years ago by karsten

Resolution: implemented
Status: acceptedclosed

Implemented. See "Download graph as PDF or SVG." below the "Update graph" buttons of each graph. Closing. Thanks for the suggestion!

Note: See TracTickets for help on using tickets.