Opened 10 years ago

Closed 10 years ago

#2580 closed enhancement (fixed)

Show more than 5 users? Other dates?

Reported by: jgoering@… Owned by: dagomez
Priority: normal Component: StractisticsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


Wow, great looking plugin! Say I wanted to show 6, 7, or more users instead of 5. Any easy way to modify the settings, or am I overlooking something?

Another thing that would be nice is to show for a certain date range only rather than only the last 12 weeks.

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by anonymous

Hi jgoering, right now the only way to change the number of users displayed is modifying the source code, you can look for a couple of variables named AUTHORS_LIMIT and change their values. I'd advise against setting the number of users bigger than seven because, in my experience, the chart becomes cluttered and a bit unreadable. Anyway, I'm planning to read the number of users from trac.ini. Thanks for the idea!

About the custom date range, that's a bit more difficult. How would you like to specify the date range? A form with a start date and an end date or a fixed time gap set in trac.ini ?

comment:2 in reply to:  1 Changed 10 years ago by dagomez

Forgot to log in.

comment:3 Changed 10 years ago by jgoering@…

thanks for the tip about AUTHORS_LIMIT i'll look into that.

About the custom date range: yeah a form would be wonderful, but maybe the first step would be a trac.ini entry possibility.

comment:4 Changed 10 years ago by dagomez

Hi jgoering, I've implemented a cleaner way to configure the number of users displayed, you can now set their values in trac.ini. Take a look at the wiki please. On the other hand, I'm afraid that the custom date range will take more time as there are many little issues about it such as cluttered charts when there's a large time gap between initial date and end date.

comment:5 Changed 10 years ago by dagomez

Status: newassigned

comment:6 Changed 10 years ago by dagomez

Resolution: fixed
Status: assignedclosed

Ver 0.3.0 lets you customize the time gap.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain dagomez.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.