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
dcd707f9
Commit
dcd707f9
authored
May 23, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add c3-axis class to the axes - #210
parent
5f100cb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
c3.js
c3.js
+4
-3
c3.min.js
c3.min.js
+0
-0
No files found.
c3.js
View file @
dcd707f9
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
ygrids
:
'c3-ygrids'
,
ygrids
:
'c3-ygrids'
,
ygridLine
:
'c3-ygrid-line'
,
ygridLine
:
'c3-ygrid-line'
,
ygridLines
:
'c3-ygrid-lines'
,
ygridLines
:
'c3-ygrid-lines'
,
axis
:
'c3-axis'
,
axisX
:
'c3-axis-x'
,
axisX
:
'c3-axis-x'
,
axisXLabel
:
'c3-axis-x-label'
,
axisXLabel
:
'c3-axis-x-label'
,
axisY
:
'c3-axis-y'
,
axisY
:
'c3-axis-y'
,
...
@@ -2855,7 +2856,7 @@
...
@@ -2855,7 +2856,7 @@
// Add Axis
// Add Axis
axes
.
x
=
main
.
append
(
"g"
)
axes
.
x
=
main
.
append
(
"g"
)
.
attr
(
"class"
,
CLASS
.
axisX
)
.
attr
(
"class"
,
CLASS
.
axis
+
' '
+
CLASS
.
axis
X
)
.
attr
(
"clip-path"
,
clipPathForXAxis
)
.
attr
(
"clip-path"
,
clipPathForXAxis
)
.
attr
(
"transform"
,
translate
.
x
)
.
attr
(
"transform"
,
translate
.
x
)
.
style
(
"visibility"
,
__axis_x_show
?
'visible'
:
'hidden'
);
.
style
(
"visibility"
,
__axis_x_show
?
'visible'
:
'hidden'
);
...
@@ -2865,7 +2866,7 @@
...
@@ -2865,7 +2866,7 @@
.
style
(
"text-anchor"
,
textAnchorForXAxisLabel
);
.
style
(
"text-anchor"
,
textAnchorForXAxisLabel
);
axes
.
y
=
main
.
append
(
"g"
)
axes
.
y
=
main
.
append
(
"g"
)
.
attr
(
"class"
,
CLASS
.
axisY
)
.
attr
(
"class"
,
CLASS
.
axis
+
' '
+
CLASS
.
axis
Y
)
.
attr
(
"clip-path"
,
clipPathForYAxis
)
.
attr
(
"clip-path"
,
clipPathForYAxis
)
.
attr
(
"transform"
,
translate
.
y
)
.
attr
(
"transform"
,
translate
.
y
)
.
style
(
"visibility"
,
__axis_y_show
?
'visible'
:
'hidden'
);
.
style
(
"visibility"
,
__axis_y_show
?
'visible'
:
'hidden'
);
...
@@ -2875,7 +2876,7 @@
...
@@ -2875,7 +2876,7 @@
.
style
(
"text-anchor"
,
textAnchorForYAxisLabel
);
.
style
(
"text-anchor"
,
textAnchorForYAxisLabel
);
axes
.
y2
=
main
.
append
(
"g"
)
axes
.
y2
=
main
.
append
(
"g"
)
.
attr
(
"class"
,
CLASS
.
axisY2
)
.
attr
(
"class"
,
CLASS
.
axis
+
' '
+
CLASS
.
axis
Y2
)
// clip-path?
// clip-path?
.
attr
(
"transform"
,
translate
.
y2
)
.
attr
(
"transform"
,
translate
.
y2
)
.
style
(
"visibility"
,
__axis_y2_show
?
'visible'
:
'hidden'
);
.
style
(
"visibility"
,
__axis_y2_show
?
'visible'
:
'hidden'
);
...
...
c3.min.js
View file @
dcd707f9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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