Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
c3-closed
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
charts
c3-closed
Commits
0301f4d9
Commit
0301f4d9
authored
Apr 23, 2016
by
Дмитрий Никулин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Y tick culling limits
parent
ee42cff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c3.axis.js
src/c3.axis.js
+3
-3
No files found.
src/c3.axis.js
View file @
0301f4d9
...
@@ -38,9 +38,9 @@ function c3_axis(d3, params, $$) {
...
@@ -38,9 +38,9 @@ function c3_axis(d3, params, $$) {
var
widthLimits
=
[
var
widthLimits
=
[
// Left is width, right is number of tick labels to be removed
// Left is width, right is number of tick labels to be removed
[
-
Infinity
],
[
-
Infinity
],
[
20
0
,
10
],
[
32
0
,
10
],
[
3
00
,
5
],
[
4
00
,
5
],
[
4
50
,
2
],
[
4
75
,
2
],
[
Infinity
,
1
]
[
Infinity
,
1
]
];
];
var
divisor
;
var
divisor
;
...
...
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