Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
f5b3090e
Commit
f5b3090e
authored
Feb 02, 1999
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't draw any more than 20 date ticks.
parent
91e9353a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
reports.cgi
reports.cgi
+7
-0
No files found.
reports.cgi
View file @
f5b3090e
...
@@ -452,12 +452,19 @@ FIN
...
@@ -452,12 +452,19 @@ FIN
push
@data
,
\
@assigned
;
push
@data
,
\
@assigned
;
push
@data
,
\
@reopened
;
push
@data
,
\
@reopened
;
my
$MAXTICKS
=
20
;
# Try not to show any more x ticks than this.
my
$skip
=
1
;
if
(
@dates
>
$MAXTICKS
)
{
$skip
=
int
((
@dates
+
$MAXTICKS
-
1
)
/
$MAXTICKS
);
}
my
%
settings
=
my
%
settings
=
(
(
"title"
=>
"Bug Charts for $::FORM{'product'}"
,
"title"
=>
"Bug Charts for $::FORM{'product'}"
,
"x_label"
=>
"Dates"
,
"x_label"
=>
"Dates"
,
"y_label"
=>
"Bug Count"
,
"y_label"
=>
"Bug Count"
,
"legend_labels"
=>
\
@labels
,
"legend_labels"
=>
\
@labels
,
"skip_x_ticks"
=>
$skip
,
);
);
$img
->
set
(
%
settings
);
$img
->
set
(
%
settings
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment