Opened 12 years ago

Closed 12 years ago

#419 closed enhancement (fixed)

Allow user to select resolution in sample count report

Reported by: Nicklas Nordborg Owned by: olle
Priority: major Milestone: Reggie v2.9
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The sample count report currently generate a table with weekly, monthly, quarterly or yearly columns. What is used depends on the selected start and end dates so that the number of columns doesn't generate a too wide table.

It should be possible for a user to override the automatic selection and, for example, select a monthly resolution even for longer periods.

Change History (4)

comment:1 by olle, 12 years ago

Traceability note:

  • The report generator was introduced in Ticket #339 (Report generator).

comment:2 by olle, 12 years ago

Status: newassigned

Ticket accepted.

comment:3 by olle, 12 years ago

Design discussion.

Currently the report format is calculated by the servlet SampleReportServlet in reggie/src/net/sf/basedb/reggie/servlet/, and the result is transferred as variable viewType in the report sent to the JSP script samplereportgenerator in reggie/resources/.

Design of new feature for manual selection of view type:

  1. JSP script samplereportgenerator will be extended in step 2 with a new pop-up menu "View type" with selection for yearly, quarterly, monthly, and weekly views, in addition to the previous alternative, which is called "Auto", and which will be the default choice. The value of the menu selection will be sent to servlet SampleReportServlet together with other data. If another selection than "Auto" has been made, that will be used, otherwise the servlet will use the same procedure as previously to find the view type.

comment:4 by olle, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [1728]) Fixes #419. Added menu for manual selection of view type for the table.

Note: See TracTickets for help on using tickets.