Fixing issue of young projects causing graphing errors

This commit is contained in:
Brad Beattie 2009-04-03 15:18:29 -07:00
parent 3a8022566a
commit 33d61cc17c

View File

@ -29,9 +29,8 @@ class GraphsController < ApplicationController
:show_data_values => false,
:stagger_x_labels => true,
:style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_growth.css",
:timescale_divisions => "1 months",
:width => 720,
:x_label_format => "%b %Y"
:x_label_format => "%Y-%m-%d"
})
# Get the top visible projects by issue count
@ -92,7 +91,6 @@ class GraphsController < ApplicationController
:show_data_values => false,
:stagger_x_labels => true,
:style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_age.css",
:timescale_divisions => "1 weeks",
:width => 720,
:x_label_format => "%b %d"
})