Bug 16009 - generic charting. Patch by gerv; r,a=justdave.

git-svn-id: svn://10.0.0.236/trunk@144165 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2003-06-25 23:23:13 +00:00
parent 59de96e2fe
commit bbe9d17dd1
23 changed files with 2130 additions and 6 deletions

View File

@@ -137,7 +137,9 @@ sub PrefillForm {
"status_whiteboard_type", "bug_id",
"bugidtype", "keywords", "keywords_type",
"x_axis_field", "y_axis_field", "z_axis_field",
"chart_format", "cumulate", "x_labels_vertical")
"chart_format", "cumulate", "x_labels_vertical",
"category", "subcategory", "name", "newcategory",
"newsubcategory", "public", "frequency")
{
# This is a bit of a hack. The default, empty list has
# three entries to accommodate the needs of the email fields -
@@ -378,6 +380,11 @@ $vars->{'userdefaultquery'} = $userdefaultquery;
$vars->{'orders'} = \@orders;
$default{'querytype'} = $deforder || 'Importance';
if (($::FORM{'query_format'} || $::FORM{'format'}) eq "create-series") {
require Bugzilla::Chart;
$vars->{'category'} = Bugzilla::Chart::getVisibleSeries();
}
# Add in the defaults.
$vars->{'default'} = \%default;