Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,692
Issues
1,692
List
Boards
Labels
Service Desk
Milestones
Merge Requests
85
Merge Requests
85
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
e4670ae1
Commit
e4670ae1
authored
Mar 06, 2015
by
Mathieu Giraud
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
axis.js: no more than 30 labels on an axis
parent
d47b12f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
browser/js/axis.js
browser/js/axis.js
+1
-2
No files found.
browser/js/axis.js
View file @
e4670ae1
...
...
@@ -217,8 +217,7 @@ Axis.prototype = {
this
.
labels
=
[];
var
length
=
Object
.
keys
(
tab
).
length
;
var
step
=
1
;
if
(
length
>
50
)
step
=
5
var
step
=
1
+
Math
.
floor
(
length
/
30
)
var
i
=
1
for
(
var
e
in
tab
){
...
...
Mathieu Giraud
@magiraud
mentioned in issue
#2697 (closed)
·
Oct 10, 2017
mentioned in issue
#2697 (closed)
mentioned in issue #2697
Toggle commit list
Mathieu Giraud
@magiraud
mentioned in commit
814cc6d0
·
Oct 10, 2017
mentioned in commit
814cc6d0
mentioned in commit 814cc6d0f48f3fcc5cf8e204e75e59f357af9820
Toggle commit list
Mathieu Giraud
@magiraud
mentioned in commit
f10a43b2
·
Oct 19, 2017
mentioned in commit
f10a43b2
mentioned in commit f10a43b248f845de2d285754806bb0bf4954ee80
Toggle commit list
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