[tor-bugs] #25264 [Metrics/Website]: Decide what graph to display when there's no data to graph
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Mar 12 13:53:32 UTC 2018
#25264: Decide what graph to display when there's no data to graph
-----------------------------+------------------------------
Reporter: karsten | Owner: metrics-team
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: Metrics/Website | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------
Comment (by karsten):
Replying to [comment:2 iwakeh]:
> For avoiding the 500 server error when trying to access the png (as
reported in detail in #25468) an empty graph/png stating 'no data
available for this parameter choice' should be generated.
Sounds good. We'll also need such a static file in the PDF format. I'll
create placeholders using R/ggplot2 in a bit. We just need to write the
code to put them in.
> Currently, the corresponding csv only contains the header. Maybe, also
add a comment here too in case no data is available.
Sounds good, too. Want to suggest a text? I can put it in then.
> It should be avoided to call R if there is no data available.
Well, we need to call R to find out whether there's data available for the
requested period of time. Or what did you mean?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25264#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list