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
0145a99b
Commit
0145a99b
authored
Jun 21, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix z-index of grids - #373
parent
6f2091f2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
c3.js
c3.js
+5
-9
c3.min.js
c3.min.js
+0
-0
grid_x_lines.html
htdocs/samples/grid_x_lines.html
+4
-0
No files found.
c3.js
View file @
0145a99b
...
@@ -2953,24 +2953,20 @@
...
@@ -2953,24 +2953,20 @@
grid
=
main
.
append
(
'g'
)
grid
=
main
.
append
(
'g'
)
.
attr
(
"clip-path"
,
clipPath
)
.
attr
(
"clip-path"
,
clipPath
)
.
attr
(
'class'
,
CLASS
.
grid
);
.
attr
(
'class'
,
CLASS
.
grid
);
// X-Grid
if
(
__grid_x_show
)
{
if
(
__grid_x_show
)
{
grid
.
append
(
"g"
).
attr
(
"class"
,
CLASS
.
xgrids
);
grid
.
append
(
"g"
).
attr
(
"class"
,
CLASS
.
xgrids
);
}
}
if
(
__grid_y_show
)
{
grid
.
append
(
'g'
).
attr
(
'class'
,
CLASS
.
ygrids
);
}
grid
.
append
(
'g'
).
attr
(
"class"
,
CLASS
.
xgridLines
);
grid
.
append
(
'g'
).
attr
(
'class'
,
CLASS
.
ygridLines
);
if
(
__grid_focus_show
)
{
if
(
__grid_focus_show
)
{
grid
.
append
(
'g'
)
grid
.
append
(
'g'
)
.
attr
(
"class"
,
CLASS
.
xgridFocus
)
.
attr
(
"class"
,
CLASS
.
xgridFocus
)
.
append
(
'line'
)
.
append
(
'line'
)
.
attr
(
'class'
,
CLASS
.
xgridFocus
);
.
attr
(
'class'
,
CLASS
.
xgridFocus
);
}
}
grid
.
append
(
'g'
).
attr
(
"class"
,
CLASS
.
xgridLines
);
// Y-Grid
if
(
__grid_y_show
)
{
grid
.
append
(
'g'
).
attr
(
'class'
,
CLASS
.
ygrids
);
}
grid
.
append
(
'g'
).
attr
(
'class'
,
CLASS
.
ygridLines
);
// Define g for chart area
// Define g for chart area
main
.
append
(
'g'
)
main
.
append
(
'g'
)
...
...
c3.min.js
View file @
0145a99b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
htdocs/samples/grid_x_lines.html
View file @
0145a99b
...
@@ -19,11 +19,15 @@
...
@@ -19,11 +19,15 @@
},
},
grid
:
{
grid
:
{
x
:
{
x
:
{
show
:
true
,
lines
:
[{
lines
:
[{
value
:
2
,
value
:
2
,
text
:
'Label 2'
,
text
:
'Label 2'
,
class
:
'lineFor2'
class
:
'lineFor2'
}]
}]
},
y
:
{
show
:
true
,
}
}
}
}
});
});
...
...
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