Opened 9 years ago

Last modified 16 months ago

#2379 new enhancement

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

Reported by: khundeen Owned by:
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: khundeen, mitar 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 (5)

comment:1 Changed 9 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 8 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 7 years ago by mitar

  • Cc mitar added


comment:4 Changed 6 years ago by rjollos

  • Owner changed from khundeen to rjollos

comment:5 Changed 16 months ago by rjollos

  • Owner rjollos deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.