Build 892 Graph Timespans

I was having a look at the way the project -> Configuration -> Metrics graph time-spans work and I guess that the behavior is unexpected. When I select a week, month, quarter, year etc I would have expected the scale on the x axis to change to the value selected on the drop down option list. When there isn't enough data to fill that, I would expect that part of the graph to be blank. So if I select Month [?Calendar vs Last 31 days] I would expect the scale to show 1 - 31 days along the bottom.

This is one of the big features I would like my customers to have access to, so they can see the progress of code changes.  I know they will be watching these extensively and is part of the "agile service pitch" our business will use.

ContinuaCI_892_Chart_Timespans.jpg

Hi Jamie

The scale doesn’t change because the items are ordered by datetime. The timespan selection just changes the period we use when querying the database, and it’s not calendar month or this week, it’s the last 31 days or the last 7 days etc.

It’s early days yet with graphs, the charting library is quite complex and I expect we will evolve the charts over time, however it’s unlikely we will change them again before the v1 release.