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
Evgeny
c3-closed
Commits
8656efac
Commit
8656efac
authored
Mar 06, 2014
by
David van Leeuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set __grid_y_ticks as option
parent
3e508c56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
c3.js
c3.js
+3
-2
c3.min.js
c3.min.js
+0
-0
No files found.
c3.js
View file @
8656efac
...
@@ -115,7 +115,8 @@
...
@@ -115,7 +115,8 @@
__grid_y_show
=
getConfig
([
'grid'
,
'y'
,
'show'
],
false
),
__grid_y_show
=
getConfig
([
'grid'
,
'y'
,
'show'
],
false
),
// not used
// not used
// __grid_y_type = getConfig(['grid', 'y', 'type'], 'tick'),
// __grid_y_type = getConfig(['grid', 'y', 'type'], 'tick'),
__grid_y_lines
=
getConfig
([
'grid'
,
'y'
,
'lines'
],
null
);
__grid_y_lines
=
getConfig
([
'grid'
,
'y'
,
'lines'
],
null
),
__grid_y_ticks
=
getConfig
([
'grid'
,
'y'
,
'ticks'
],
10
);
// point - point of each data
// point - point of each data
var
__point_show
=
getConfig
([
'point'
,
'show'
],
true
),
var
__point_show
=
getConfig
([
'point'
,
'show'
],
true
),
...
@@ -2260,7 +2261,7 @@
...
@@ -2260,7 +2261,7 @@
// Y-Grid
// Y-Grid
if
(
withY
&&
__grid_y_show
)
{
if
(
withY
&&
__grid_y_show
)
{
ygrid
=
main
.
select
(
'.ygrids'
).
selectAll
(
".ygrid"
)
ygrid
=
main
.
select
(
'.ygrids'
).
selectAll
(
".ygrid"
)
.
data
(
y
.
ticks
(
__grid_y_
line
s
));
.
data
(
y
.
ticks
(
__grid_y_
tick
s
));
ygrid
.
enter
().
append
(
'line'
)
ygrid
.
enter
().
append
(
'line'
)
.
attr
(
'class'
,
'ygrid'
);
.
attr
(
'class'
,
'ygrid'
);
ygrid
.
attr
(
"x1"
,
__axis_rotated
?
y
:
0
)
ygrid
.
attr
(
"x1"
,
__axis_rotated
?
y
:
0
)
...
...
c3.min.js
View file @
8656efac
This diff is collapsed.
Click to expand it.
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