Closed Bug 740159 Opened 13 years ago Closed 13 years ago

need to be able to link to individual histogram graph images

Categories

(Mozilla Metrics :: Frontend Reports, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Unreviewed

People

(Reporter: dietrich, Unassigned)

References

Details

(Whiteboard: [Telemetry])

+++ This bug was initially created as a clone of Bug #727932 +++ it would also be awesome to be able to link to just the graph image, so that we can easily embed them in wiki pages, blog posts, etc.
Group: metrics-private
Whiteboard: [Telemetry]
(In reply to Dietrich Ayala (:dietrich) from comment #0) > +++ This bug was initially created as a clone of Bug #727932 +++ > > it would also be awesome to be able to link to just the graph image, so that > we can easily embed them in wiki pages, blog posts, etc. It would be better if we could embed the canvas, I think, rather than rendering it as a static image. But also note that the data changes over time. Even if you restrict it to a fixed set of dates, it'll still change over time, as more data comes in from those dates. (Or if, for whatever reason, we deleted all our old data again.)
It feels like it would be a bit odd to embed a chart with live data into a blog post vs just saving an image of it and embedding that.
If you're writing a blog post and you don't want the chart to change (e.g. if the Telemetry hw fails and they delete 90% of the data), it sounds to me like you should just use a screenshot. Unless you guys are going to guarantee to keep all data around forever, from now on.
(In reply to Justin Lebar [:jlebar] from comment #3) > If you're writing a blog post and you don't want the chart to change (e.g. > if the Telemetry hw fails and they delete 90% of the data), it sounds to me > like you should just use a screenshot. yeah, screenshot is totally reasonable low-cost way to do this -> WONTFIX
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
FWIW I want to be able to embed the canvas so I can make a personal dashboard. But that's covered by separate bugs. :)
For this bug, I'd be inclined to investigate a canvas->image converter to make the screenshot usecase easy. http://www.nihilogic.dk/labs/canvas2image/
Might help for me to understand our own current features better. We already have the capability to export a chart as a PNG image. For Telemetry, it only looks decent if you select the Large option or give a large custom width and height, but it works well within that caveat.
(In reply to Justin Lebar [:jlebar] from comment #5) > FWIW I want to be able to embed the canvas so I can make a personal > dashboard. But that's covered by separate bugs. :) So, I had understood this bug to be about embedding the canvas / live data. Happy to follow that in another bug. I assume you're referencing bug 728555, bug 725026, and bug 720485, which we can likely consolidate as a single emded the Telemetry histogram canvas request.
You need to log in before you can comment on or make changes to this bug.