Opened 7 years ago

Last modified 5 years ago

#2379 new enhancement

Make the date range in charts a parameter in trac.ini

Reported by: khundeen Owned by: rjollos
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: khundeen, mmitar@… Trac Release: 0.11


I got a request that the date back value should be editable. I think would make it as parameter in trac.ini.

If you like this approach please add comments here. I am not sure how to do that yet, so any advice about this would be useful.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by fermulator

  • Cc khundeen added; anonymous removed

This is an absolute must in my opinion.

While the default of 'one month previous' is sufficient for the majority of cases, the ability to generate historical results is highly beneficial!

Adding a new section would be required of course:

stats_startdate = yyyy-mm-dd
stats_enddate = yyyy-mm-dd

However, are the graphics/charts you generate limited to a one month range ... or could we generate, say, a year of stats?

comment:2 Changed 6 years ago by Karsten Voges

This is what I was missing first. Either history range in trac.ini or directly on the page as a parameter to choose from, such as:

Choose history range:
stats_startdate = yyyy-mm-dd (defaults two months back)
stats_enddate = yyyy-mm-dd (defaults to today)

Choose granularity: days - weeks - months - years

comment:3 Changed 5 years ago by mitar

  • Cc mmitar@… added


comment:4 Changed 5 years ago by rjollos

  • Owner changed from khundeen to rjollos

Add Comment

Modify Ticket

as new The owner will remain rjollos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.