Modify

Opened 17 years ago

Last modified 9 years ago

#2379 new enhancement

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

Reported by: Bhuricha Deen Sethanandha Owned by:
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Bhuricha Deen Sethanandha, Mitar Trac Release: 0.11

Description

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 17 years ago by Matt Callaghan

Cc: Bhuricha Deen Sethanandha 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:

[tracmatrixplugin]
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 16 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 15 years ago by Mitar

Cc: Mitar added

+1

comment:4 Changed 14 years ago by Ryan J Ollos

Owner: changed from Bhuricha Deen Sethanandha to Ryan J Ollos

comment:5 Changed 9 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.